Settings -> Thumbnails -> Labels: Focus Distance

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

Post Reply
User avatar
toyotadesigner
Posts: 99
Joined: Sun Apr 10, 2016 7:15 am

Settings -> Thumbnails -> Labels: Focus Distance

Post 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?

hobbyists discuss new camera features
photographers discuss new software
masters discuss light
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Settings -> Thumbnails -> Labels

Post 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)
User avatar
toyotadesigner
Posts: 99
Joined: Sun Apr 10, 2016 7:15 am

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

Post 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'.

hobbyists discuss new camera features
photographers discuss new software
masters discuss light
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

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

Post 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} .
User avatar
toyotadesigner
Posts: 99
Joined: Sun Apr 10, 2016 7:15 am

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

Post 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.

hobbyists discuss new camera features
photographers discuss new software
masters discuss light
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

Could you please send me a sample file?
Pierre.
User avatar
toyotadesigner
Posts: 99
Joined: Sun Apr 10, 2016 7:15 am

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

Post by toyotadesigner »

Yup - here we go:
Attachments
_DSC4338_02.jpg

hobbyists discuss new camera features
photographers discuss new software
masters discuss light
User avatar
toyotadesigner
Posts: 99
Joined: Sun Apr 10, 2016 7:15 am

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

Post by toyotadesigner »

I am just curious: Do you have any news on this topic?

hobbyists discuss new camera features
photographers discuss new software
masters discuss light
User avatar
m.Th.
XnThusiast
Posts: 1663
Joined: Wed Aug 16, 2006 6:31 am
Contact:

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

Post 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? :-) )
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
PP0815
Posts: 32
Joined: Wed Mar 26, 2014 10:47 am

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

Post 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
User avatar
m.Th.
XnThusiast
Posts: 1663
Joined: Wed Aug 16, 2006 6:31 am
Contact:

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

Post 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...
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
Post Reply