06-17-2022 03:53 PM
When using a manual only lens with no electronics, DPP does not permit one to do diffraction correction. I would guess that the only information about the lens that is needed to do a Richardson/Lucy deconvolution to correct diffraction is the F number and maybe the focal length. If the user could be prompted for that information, I expect that diffraction correction would work. Using GMIC on a command line works if one gives parameters that match the F number and the pixel pitch on the sensor. The pixel pitch on the sensor is already known by DPP.
Discussion and criticism will be welcome.
Thanks.
John
06-17-2022 04:05 PM - edited 06-17-2022 04:05 PM
What if you did some edits to the EXIF data, starting [with] the f/stop?
06-17-2022 05:00 PM
@Waddizzle wrote:What if you did some edits to the EXIF data, starting [with] the f/stop?
Thanks.
After:
7196 exiftool -LensModel='Minolta MC ROKKOR-X PG 1:1.4 f=50mm' IMG_9568.CR3
7197 exiftool -Xmp:LicensorURL='https://www.rsok.com/copyright.html' IMG_9568.CR3
7198 exiftool -FocalLength='50' IMG_9568.CR3
7199 exiftool -FNumber='16.0' IMG_9568.CR3
7200 exiftool -LensSerialNumber='3835202' IMG_9568.CR3
7201 exiftool IMG_9568.CR3 | less -M
7202 history -30
The diffraction correction is still grayed out in DPP. I have not tried identifying this as a Canon lens and I have not modified all of the locations where F number or aperture is stored.
06-17-2022 05:07 PM
Here is the photo.
06-17-2022 06:02 PM
I made a photo with the lens cap on an EF 50mm F/1.8 STM and did the following as an experiment.
7214 cp -i IMG_9568.CR3 IMG_9568ex.CR3
7215 cp -ip /Volumes/EOS_DIGITAL/DCIM/100CANON/IMG_9569.CR3 .
7216 exiftool -tagsfromfile IMG_9569.CR3 IMG_9568ex.CR3
7217 exiftool -G0:2 IMG_9569.CR3 >> IMG_9569.exif
7218 exiftool -G0:2 IMG_9568ex.CR3 >> IMG_9568ex.exif
7219 diff IMG_9569.exif IMG_9568ex.exif | less
7220 exiftool -lensid IMG_9569.CR3 IMG_9568ex.CR3
7221 exiftool -"*apertur*" IMG_9569.CR3 IMG_9568ex.CR3
This did not make the metadata the same for the two files, but did make the lensid the same. The diffraction correction was still grayed out in DPP.
01/27/2025: New firmware updates are available.
12/18/2024: New firmware updates are available.
EOS C300 Mark III - Version 1..0.9.1
EOS C500 Mark II - Version 1.1.3.1
12/05/2024: New firmware updates are available.
EOS R5 Mark II - Version 1.0.2
09/26/2024: New firmware updates are available.
EOS R6 Mark II - Version 1.5.0
Canon U.S.A Inc. All Rights Reserved. Reproduction in whole or part without permission is prohibited.