Page 1 of 1

Settings -> Thumbnails -> Labels: Focus Distance

Posted: Fri Jan 06, 2017 8:52 am
by toyotadesigner
I would like to add another label. In my Exif Data I have MakerNotes -> Focus Distance.

How can I assign this label to Custom 5?

I tried this: MakerNotes:{Focus Distance}

but it does not work at all...

Do you have any solution?

Re: Settings -> Thumbnails -> Labels

Posted: Fri Jan 06, 2017 9:24 am
by helmut
I'm guessing here: Perhaps the variable <Subject Distance> ?

(In "Custom label" field you can use >> > EXIF - Image > Subject distance (m) for inserting this variable)

Re: Settings -> Thumbnails -> Labels: Focus Distance

Posted: Fri Jan 06, 2017 11:11 am
by toyotadesigner
Thanks for the idea, but it doesn't work at all. I guess I have to use the field name of the Exif, in this case 'Focus Distance'.

Re: Settings -> Thumbnails -> Labels: Focus Distance

Posted: Fri Jan 06, 2017 11:18 am
by helmut
toyotadesigner wrote:Thanks for the idea, but it doesn't work at all. I guess I have to use the field name of the Exif, in this case 'Focus Distance'.
Sorry, I looked in XnView Classic which uses different variables. In XnView MP you may try {EXIF:Subject Distance} .

Re: Settings -> Thumbnails -> Labels: Focus Distance

Posted: Sat Jan 07, 2017 6:50 am
by toyotadesigner
In XnView MP I have the same variables. Seems they are predefined. Even tried to set {EXIF:Focus Distance} with and without unit 'm' after the brackets. In this case the field displays only the variable, but not the value.

I really wish I could set the Focus Distance and the Depth of Field to be displayed in one field in the thumbnail view.

Re: Settings -> Thumbnails -> Labels: Focus Distance

Posted: Mon Jan 09, 2017 12:04 pm
by xnview
Could you please send me a sample file?

Re: Settings -> Thumbnails -> Labels: Focus Distance

Posted: Mon Jan 16, 2017 5:36 pm
by toyotadesigner
Yup - here we go:

Re: Settings -> Thumbnails -> Labels: Focus Distance

Posted: Tue Feb 21, 2017 7:13 pm
by toyotadesigner
I am just curious: Do you have any news on this topic?

Re: Settings -> Thumbnails -> Labels: Focus Distance

Posted: Sat Feb 25, 2017 8:26 am
by m.Th.
Bad news:

If you want the specific distance from the sensor's plane till the point of focus (what means subject anyway?) you will not get it, simply because it isn't recorded in your file - you can look with ExifTool to see that it says 'Unknown'.

For your sake I looked at a bunch of files generated via different top-notch lenses (Canon L, Sigma Art series etc.) on a flagship body (Canon 1DX Mk II) and it isn't recorded. Technically speaking it is quite tricky to get it with accuracy (focus breathing, distortions etc.), most probably that's why they abandoned it.

It isn't XnView's fault.

The only thing you can do is to display your Focal Length and your F-Number and use a DOF calcualtor to get your DOF (ok, you have a ruler, right? :-) )

Re: Settings -> Thumbnails -> Labels: Focus Distance

Posted: Sun Feb 26, 2017 2:05 am
by PP0815
Well it is recorded. You can find the value (in this case 0.79m) under the tag 'Focus Distance' in the MakerNotes (exiftoolGUI told me its the tag 0x000a FocusDistance). I downloaded the photo from above and tried it with different tags with and without spaces etc but without luck.
A question in general: since this doesn't work as I (and the OP) expected does it mean that it is (at the moment) not possible to use all tags that the imagefile provide although exiftool can read it.

BTW the DoF info can be found under 'composite: Depth Of field' in exiftool (in this case here 0.11 (0.75 - 0.85m). Well the values from the composite section are calculated from other tag fields.

Another info that might be important for some people: on the exiftool website (under Nikon tags) I found the mentioned FocusDistance tag beside the note that this value is approximite and not very accurate with some lenses.

I hope that it is somehow possible to use more (or all) tags. I can see some situations where it would really be nice to display the FocusDistance while browsing thru the photos.

thanks for your work

Re: Settings -> Thumbnails -> Labels: Focus Distance

Posted: Sun Feb 26, 2017 10:41 am
by m.Th.
Yep - finally found it. Also Canon records it... ...but differently (AFAIS).

What I learnt is:

- MakerNotes is a mess.
- XnView can support it only by copy/paste or simply writing from keyboard something like {MakerNotes: myTag} - if the tag is not found an # TAG not found! # message should appear.

...however I don't know if MakerNotes are saved in DB's metadata...