NEF with 2 different CFAPattern

Started by herb, April 29, 2014, 06:26:04 AM

Previous topic - Next topic

herb

Hello,

I got an image from a friend. For this *.nef image Exiftool displays tag CFA Pattern twice:
- ExifIFD:CFAPattern: 2 2 5 3 1 4  [Yellow, Cyan][Green, Magenta]
- Composite:CFAPattern: 2 2 2 1 1 0  [Blue, Green][Green, Red]

Does it make sense to have this tag twice (and with different values)?
Thanks for your comments in advance.
Best regards
Herb

Phil Harvey

Hi Herb,

Is this perhaps a Nikon E5400?  I'd say this is a Nikon bug.  The CFAPattern stored in the ExifIFD is different from the CFAPattern2 in SubIFD1 (the IFD of the full-resolution image).  They seem to have fixed this with the E5700.

I can't say if it makes sense to repeat this information since NEF is a proprietary format and they can do anything they want.  In the EXIF specification, the ExifIFD:CFAPattern is optional.

- 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 ($).

herb

Hello Phil,

thanks for your help.
The model is E8700. All is exactly as you described: ExifIFD:CFAPattern is different to SubIFD1:CFAPattern2.
So it is a Nikon bug.

Best regards
Herb

Phil Harvey

Hi Herb,

I don't have an E8700 NEF sample.  If possible, could you mail one to me (philharvey66 at gmail.com)?  I would appreciate it.

- 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 ($).

herb

Hello Phil,

yes, I have sent it.

Best regards
Herb

Phil Harvey

...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 ($).