Bug 483839 - Lighttable shows incorrect active AF focus points from Canon EOS R7.
Summary: Lighttable shows incorrect active AF focus points from Canon EOS R7.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Focus (other bugs)
Version First Reported In: 8.2.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-17 14:58 UTC by pointnshoot
Modified: 2024-03-17 21:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.4.0
Sentry Crash Report:


Attachments
AF Point displayed in Canon DPP 4 (top) and Digikam (bottom) (601.85 KB, image/jpeg)
2024-03-17 14:58 UTC, pointnshoot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pointnshoot 2024-03-17 14:58:07 UTC
Created attachment 167368 [details]
AF Point displayed in Canon DPP 4 (top) and Digikam (bottom)

SUMMARY
Lighttable shows incorrect active AF point shape for Canon EOS R7

STEPS TO REPRODUCE
1. Open Canon .CR3 file in Digikam Lighttable.
2. Activate AF points
3. Compare to active AF points shown in Canon DPP 4.

OBSERVED RESULT
Digikam and DPP show different active AF point shape for the same image

EXPECTED RESULT
Digikam and DPP should show the same active AF point shape for the same image

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: kubuntu 23.10
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
The original raw image is availabe at 
https://drive.google.com/file/d/1TasXNReAxlGTQHaiJ3egr4Nvz1RoQCJ5/view?usp=sharing
Comment 1 Maik Qualmann 2024-03-17 15:21:57 UTC
Hmm, after the autofocus metadata doesn't really produce such a narrow rectangle as shown in the Canon program. It is basically the middle third in the height of our rectangle. Additional metadata tags would have to decide whether a focus point rectangle is made even smaller? What does the focus rectangle look like in the camera?

For comparison, a similar image with a focus rectangle in a square shape would be good to compare the metadata.

Maik
Comment 2 pointnshoot 2024-03-17 16:06:47 UTC
The focus rectangle in the camera looks exactly like in DPP.  There are actually quite a few pictures in this series, where the focus region is not square. In all cases DigiKam shows a square.

For comparison, I've uploaded a picture where DPP (and DigiKam) show a square focus area.  I hope this is what your looking for.
https://drive.google.com/file/d/1Iu2Awn_D8DeO766jKA_W_siR95U_Q70y/view?usp=sharing
Comment 3 Maik Qualmann 2024-03-17 16:18:36 UTC
I think this could be an ExifTool problem because in your example image ExifTool's AFAreaMode is displayed as "Unknown(19"). In other sample images I have from the EOS R7, ExifTool knows the mode.

At the moment I don't see any difference in the autofocus metadata for your two sample images. In principle we can only display the rectangle whose coordinates we get from ExifTool.

Thanks for the sample images.

Maik
Comment 4 Maik Qualmann 2024-03-17 21:28:28 UTC
Git commit e211dee11b9e78a717c82503d26b13d98e4f78be by Maik Qualmann.
Committed on 17/03/2024 at 21:27.
Pushed by mqualmann into branch 'master'.

fix incorrect Canon focus point rectangle in height due to wrong variable
FIXED-IN: 8.4.0

M  +1    -1    NEWS
M  +1    -1    core/libs/metadataengine/focuspoint/focuspoints_extractor_canon.cpp

https://invent.kde.org/graphics/digikam/-/commit/e211dee11b9e78a717c82503d26b13d98e4f78be
Comment 5 Maik Qualmann 2024-03-17 21:43:43 UTC
Git commit 01a9335e809fed138928b8d602162711ea63337c by Maik Qualmann.
Committed on 17/03/2024 at 21:33.
Pushed by mqualmann into branch 'master'.

another probably copy/paste error

M  +2    -2    core/libs/metadataengine/focuspoint/focuspoints_extractor_canon.cpp

https://invent.kde.org/graphics/digikam/-/commit/01a9335e809fed138928b8d602162711ea63337c