Nikon Z7 Pitch/Yaw/Roll data found in NEF files but missing in Jpeg

Started by pe1125, August 14, 2021, 02:11:18 PM

Previous topic - Next topic

pe1125

I've been missing the Pitch/Roll and Yaw angle Exif data in my Nikon Z7 (original version I) jpeg files for some time when I noticed that Exiftool does find the information in NEF files from the camera.  I have no idea if this is an ExifTool issue or if the data is not recorded in the Jpeg's, but I found it curious.  Using version 12.30 (and earlier) on Windows 10 using ExifToolGUI. I can supply files if needed but the Z7 NEF is big.
   Peter

StarGeek

Is the source of the jpeg from the camera or was it created from the RAW by another program such as Lightroom?
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

pe1125

Valid question.  Jpeg was original from camera. Out of curiosity I also tried converting an NEF to jpeg with Nikon View NX-i software with the same result-missing roll, pitch and yaw data.

StarGeek

What is the output from the command in FAQ #3?  Use [code][/code] or the button to format the the output.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

pe1125

Hope this helps.  I had to use the command to extract everything:
exiftool -ee3 -U -G3:1 -api requestall=3 -api largefilesupport 210430_03.nef

Excerpt from NEF tags:
[Nikon]         Nikon Shot Info Z7 2 0xce2f     : 0
[Nikon]         Nikon Shot Info Z7 2 0xce30     : 0
[Nikon]         Roll Angle                      : -0.7
[Nikon]         Pitch Angle                     : -0.6
[Nikon]         Yaw Angle                       : 76.4
[Nikon]         Nikon Shot Info Z7 2 0xce3e     : 248

Excerpt from jpeg tags:
[Nikon]         Nikon Shot Info Z7 2 0x5c62     : 0
[Nikon]         Nikon Shot Info Z7 2 0x5c63     : 0
[Nikon]         Nikon Shot Info Z7 2 0x5c64     : 0
[Nikon]         Nikon Shot Info Z7 2 0x5c65     : 0
[Nikon]         Noise Reduction                 : Off
[Nikon]         Color Balance Version           : 0800
[Nikon]         Nikon Color Balance Unknown 0x0004: 3
[Nikon]         Nikon Color Balance Unknown 0x0005: 3
[Nikon]         Nikon Color Balance Unknown 0x0006: 0

It appears that the Roll, Pitch and Yaw data that is found in the NEF files (and documented under the NIKON tags page https://exiftool.org/TagNames/Nikon.html "Nikon ShotInfoZ7_2 Tags") is truncated in the jpeg result. Not sure if it is not in the file or just that exiftool truncates the data in extracting it.   
   Thanks for looking into this. It's all way over my head.

Phil Harvey

This is not surprising since JPEG has a maximum of 64 kB in a segment, while the ShotInfoZ7_2 data alone is at least 0xce3e (52798) bytes in your NEF file.  Nikon is likely dropping some information in the JPEG so the maker notes will fit in a JPEG segment.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

pe1125

Thanks, Phil, makes sense.  A limitation we'll have to live with.