Panasonic Focus Area Size

Started by andrewj, April 21, 2025, 07:41:24 AM

Previous topic - Next topic

andrewj

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   

andrewj

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

Phil Harvey

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

andrewj

Thanks Phil. Sorry if I seemed impatient, but you're normally so good at getting back very promptly!

Phil Harvey

We're into bird migration season now, so expect slower responses for the next month or so. :)

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

Phil Harvey

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