-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
feature: newnew features to addnew features to addno-issue-activityscope: image processingcorrecting pixelscorrecting pixels
Description
Some Leica cameras have a feature called "Perspective control", which automatically corrects the perspective or keystone distortion. Article with pictures here. This is directly applied to in-camera jpg files, and for raw files the data is stored in the camera metadata. Which looks like:
Xmp.xmpDSA.Version XmpText 5 1.0.0
Xmp.xmpDSA.CorrectionAlreadyApplied XmpText 4 True
Xmp.xmpDSA.PitchAngle XmpText 12 0.9129999876
Xmp.xmpDSA.RollAngle XmpText 12 1.2159999608
Xmp.xmpDSA.FocalLength35mm XmpText 13 50.0000000000
Xmp.xmpDSA.TargetAspectRatio XmpText 12 1.5000000000
Xmp.xmpDSA.ScalingFactorHeight XmpText 12 0.9687359333
Xmp.xmpDSA.ValidCropCorners XmpText 4 True
Xmp.xmpDSA.ApplyAutomatically XmpText 4 True
Xmp.xmpDSA.NormalizedCropCorners XmpSeq 8 0.0106867747, 0.0314993262, 0.9756190180, 0.0007762801, 0.9929105639, 0.9690485000, 0.0208023600, 1.0000000000
I could not find any documentation or information if this data is used by darktable, but it would be nice to be able to. It could even just be used for rotation.
Let me know if I can provide any other information or image samples.
Metadata
Metadata
Assignees
Labels
feature: newnew features to addnew features to addno-issue-activityscope: image processingcorrecting pixelscorrecting pixels