ExifTool Forum

General => Metadata => Topic started by: andrewj on April 21, 2025, 07:41:24 AM

Title: Panasonic Focus Area Size
Post by: andrewj on April 21, 2025, 07:41:24 AM
Hi Phil,

Newer Panasonic cameras store the size of the primary focus area as well as its centre position.

The value appears to be held in the tag Panasonic:Panasonic_0x00de. This is usually a pair of numbers, representing the fractional width and height of the focus area relative to the image size. For example "0.021484375 0.029296875" in a typical image with spot focus, or "0.23046875 0.291015625" in an image where the camera focused on a larger area (e.g. using one of the specialist subject detection modes).

I suggest you call this "AFAreaSize", or you could use "AFPointSize" to correspond with the existing AFPointPosition for the centre point.

Andrew   
Title: Re: Panasonic Focus Area Size
Post by: andrewj on April 24, 2025, 06:30:20 AM
Bump! Could an admin confirm that this update is in order and will be implemented in a coming version?
I have confirmed that it works and replicates on-camera information, I can provide evidence if that helps.
Thanks, Andrew
Title: Re: Panasonic Focus Area Size
Post by: Phil Harvey on April 24, 2025, 02:44:35 PM
There was no need to bump this.  Sorry for the delay in responding, but I'll take a look at it when I get a chance.  I plan to implement it before the next release if it works with my samples here.

- Phil
Title: Re: Panasonic Focus Area Size
Post by: andrewj on April 25, 2025, 06:52:36 AM
Thanks Phil. Sorry if I seemed impatient, but you're normally so good at getting back very promptly!
Title: Re: Panasonic Focus Area Size
Post by: Phil Harvey on April 25, 2025, 06:57:31 AM
We're into bird migration season now, so expect slower responses for the next month or so. :)

- Phil
Title: Re: Panasonic Focus Area Size
Post by: Phil Harvey on April 25, 2025, 04:45:46 PM
Great.  This seems to work well for my samples, and I'll convert the value of "4194303.999 4194303.999" to "n/a" since I see this in a couple of samples.

Thanks for this!

- Phil
Title: Re: Panasonic Focus Area Size
Post by: capricorn on May 08, 2025, 03:10:35 PM
This would be an interesting addition to the focus-points viewer for LrC (https://github.com/musselwhizzle/Focus-Points).

If someone is willing to provide me with a test image I will implement this feature.
Title: Re: Panasonic Focus Area Size
Post by: Phil Harvey on May 08, 2025, 04:05:18 PM
I've just downloaded my samples mainly from DPReview.  The modles which store this information are

DC-G9M2
DC-GH5M2
DC-GH6
DC-S1
DC-S1H
DC-S1R
DC-S1RM2
DC-S5
DC-S5M2
DC-S5M2X

- Phil
Title: Re: Panasonic Focus Area Size
Post by: capricorn on May 08, 2025, 04:31:26 PM
What should we do w/o dpreview?  :)

I've quickly implemented Af Area Size visualization and I'm wondering if this box is something what the user will also see in VF / on display.

I'm shooting Olympus / OM System and typically, the subject detection frames are not centered around the focus point.

Can a Pana user comment on this?

screenshot.jpg
Title: Re: Panasonic Focus Area Size
Post by: andrewj on June 02, 2025, 08:57:22 AM
Hi Phil,
I've established that "4194303.999 4194303.999" is actually "manual focus", because I managed to knock my lens off AF by mistake for a few shots! I think your "n/a" translation is OK, but might be worth a note in the doc.
I can't work out why the odd numbers, but I'm guessing it's "-1,-1" in some number system.
Andrew