Lightroom Classic: Does Nikon, Canon, et al store roll and pitch camera data in the meta?

  • 2
  • Question
  • Updated 1 week ago
  • (Edited)
I shoot with Nikon cameras: D750 and D850. These cameras and, I think, many Nikon bodies can display an artificial horizon line on the LCD to assist lining up the shot with the horizon. The camera can also detect if it's pitched forward or backwards. If this data was somehow written into the file, couldn't Lightroom then pull it and set vertical perspective as well as rotate the image to level if it's off?
Photo of seanhoyt-dot-art

seanhoyt-dot-art

  • 355 Posts
  • 58 Reply Likes

Posted 1 month ago

  • 2
Photo of Brian Pierce

Brian Pierce

  • 25 Posts
  • 9 Reply Likes
AFAIK this feature does not write any metadata. It simply acts as a guide to get it right 'in camera'.
Photo of Just Shot Me

Just Shot Me

  • 401 Posts
  • 112 Reply Likes
It is a 2 way level indicator that is all. It does not calculate the degrees off level.
Photo of seanhoyt-dot-art

seanhoyt-dot-art

  • 355 Posts
  • 58 Reply Likes
The accelerometer sure knows. I'm asking Nikon if they write it to the file somewhere.

Photo of Carlos Cardona

Carlos Cardona

  • 572 Posts
  • 111 Reply Likes
How about using the Upright panel in the Develop Module? Works pretty well. Or just hit R for the crop tool, then move the cursor to the right of the crop box, which turns it into the "rotate" cursor, then align it by eye.
Photo of seanhoyt-dot-art

seanhoyt-dot-art

  • 355 Posts
  • 58 Reply Likes
My honest experience, after using the perspective control tools in LR for a few years now and on thousands of images for architecture work, the AUTO, Vertical, FULL work 0% of the time. Only Guided works. Rotations are reset when you start to use perspective tools. You can apply a rotation afterwards. I do want a better tool for that combination. (I'm a professional architecture photographer)

What I'm getting at is there are cameras (mine) that do have the sensors and I'm curious if/why-not we don't have that sensor data which would largely automate the corrections I do on all of my shots. Would save me many hours per week.
(Edited)
Photo of Todd Shaner

Todd Shaner, Champion

  • 1595 Posts
  • 538 Reply Likes
What I'm getting at is there are cameras (mine) that do have the sensors and I'm curious if/why-not we don't have that sensor data which would largely automate the corrections I do on all of my shots.
I just checked the Canon Maker Notes metadata for a G9X MKII camera CR2 file that has an electronic level and there is no entry.  I suspect that's the case for all Canon cameras.

Photo of seanhoyt-dot-art

seanhoyt-dot-art

  • 355 Posts
  • 58 Reply Likes
For reference, using a pretty simple, crappy photo... LR fails on all modes except for manual "guided" where I draw the lines on the image. I honestly can't think of what the code could possibly be doing here. The contrast couldn't be clearer and the edge equations pretty simple.
(Edited)
Photo of Todd Shaner

Todd Shaner, Champion

  • 1595 Posts
  • 538 Reply Likes
The angled ceiling light fixtures are confusing the Upright corrections. I suggest adding a new post as an 'Idea' requesting the ability to apply a temporary crop to the specific area of the image you are trying to correct and use only that area for the calculating the correction. Try it for yourself by using Edit in PS and apply a crop to remove the ceiling fixtures. Then try the Upright settings on the cropped image file.
Photo of seanhoyt-dot-art

seanhoyt-dot-art

  • 355 Posts
  • 58 Reply Likes
Looks like the ceiling light fixtures are not confusing the corrections. Here's a similar scene with an insane amount of line information to judge perspective for corrections yet it totally screws up. In order, top left to right, bottom left to right: guided, Auto, Level, Vertical, Full
Photo of Todd Shaner

Todd Shaner, Champion

  • 1595 Posts
  • 538 Reply Likes
Something looks wrong here with the results you're seeing. Suggest posting the original raw file to Dropbox or other file sharing site as an example for Adobe Engineering and others here to test. Thank you.
Photo of John R. Ellis

John R. Ellis, Champion

  • 4677 Posts
  • 1267 Reply Likes
Good idea. Unfortunately, to build on Todd's observation, I'm not aware of any mainstream cameras that record roll and pitch in their metadata.   I downloaded sample images from dpreview.com for a Nikon Z 50, D850, and a Sony a6600, and ExifTool didn't show that data being recorded.  Since the sensor data is already digital (it's displayed on the digital view finder's screen), one would assume it's straightforward for cameras to record it in the MakerNotes metadata.  
Photo of seanhoyt-dot-art

seanhoyt-dot-art

  • 355 Posts
  • 58 Reply Likes
wow! Thanks for verifying that man! Am I wrong in thinking this could benefit the average shooter, too? All of those vacation shots could be "auto leveled" and LR wouldn't have to guess/calculate. In many shots, the horizon might not even be visible but the trees, houses, etc look tilted. Maybe someone from Adobe would have enough clout to propose this to Nikon/Canon/Sony/Fuji/all
(Edited)
Photo of John R. Ellis

John R. Ellis, Champion

  • 4677 Posts
  • 1267 Reply Likes
I'd certainly appreciate auto-leveling of my mountain landscapes.