Settings -> Thumbnails -> Labels: Focus Distance

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

Moderators: XnTriq, xnview

User avatar
toyotadesigner
Posts: 18
Joined: Sun Apr 10, 2016 7:15 am

Settings -> Thumbnails -> Labels: Focus Distance

Postby toyotadesigner » Fri Jan 06, 2017 8:52 am

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: 8116
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Settings -> Thumbnails -> Labels

Postby helmut » Fri Jan 06, 2017 9:24 am

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: 18
Joined: Sun Apr 10, 2016 7:15 am

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

Postby toyotadesigner » Fri Jan 06, 2017 11:11 am

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: 8116
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

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

Postby helmut » Fri Jan 06, 2017 11:18 am

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: 18
Joined: Sun Apr 10, 2016 7:15 am

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

Postby toyotadesigner » Sat Jan 07, 2017 6:50 am

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: 27670
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Postby xnview » Mon Jan 09, 2017 12:04 pm

Could you please send me a sample file?
Pierre.

User avatar
toyotadesigner
Posts: 18
Joined: Sun Apr 10, 2016 7:15 am

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

Postby toyotadesigner » Mon Jan 16, 2017 5:36 pm

Yup - here we go:
Attachments
_DSC4338_02.jpg

hobbyists discuss new camera features
photographers discuss new software
masters discuss light

User avatar
toyotadesigner
Posts: 18
Joined: Sun Apr 10, 2016 7:15 am

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

Postby toyotadesigner » Tue Feb 21, 2017 7:13 pm

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: 1370
Joined: Wed Aug 16, 2006 6:31 am
Contact:

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

Postby m.Th. » Sat Feb 25, 2017 8:26 am

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.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.86 64bit & XnView 2.00 x64 on Win7 x64 -

PP0815
Posts: 22
Joined: Wed Mar 26, 2014 10:47 am

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

Postby PP0815 » Sun Feb 26, 2017 2:05 am

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: 1370
Joined: Wed Aug 16, 2006 6:31 am
Contact:

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

Postby m.Th. » Sun Feb 26, 2017 10:41 am

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.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.86 64bit & XnView 2.00 x64 on Win7 x64 -


Return to “MP - General Support”

Who is online

Users browsing this forum: No registered users and 3 guests