Summary: | Make inverse perspective transform not crop images | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Benjamin Traut <b.traut> |
Component: | Plugin-Editor-Perspective | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | REPORTED --- | ||
Severity: | wishlist | CC: | b.traut, caulier.gilles, david.nolden.kde |
Priority: | NOR | Keywords: | junior-jobs |
Version: | 1.0.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Benjamin Traut
2009-06-23 16:01:27 UTC
David, What do you think about this entry ? Gilles Caulier What would "crop to valid parts" mean? Otherwise, yes I think that the first two options would be useful. Although to be really correct, the image size would even have to be increased in some cases, like the rotation tool does. (In reply to comment #2) > What would "crop to valid parts" mean? Otherwise, yes I think that the first > two options would be useful. When you apply a perspective transformation to an image, you get black parts where there weren't any pixels which were transformed. With "crop to valid parts" I meant, that the algorithm should try to crop to a rectangle which lies inside the image and does not cover any of those invalid, black areas. Since there are many ways of defining such a rectangle, it might be usefull to have this algorithm make an initial guess (e.g. make a valid rectangle which resembles the aspect ratio of the image) that could be used as an input for the crop tool. Hence "this might not be well definable, since there are many ways of cropping the resulting image". To sum it up, I really do not know whether option 3 is an improvement or not. > Although to be really correct, the image size would even have to be increased > in some cases, like the rotation tool does. Yes, the size of the image has to be recalculated. Another solution: Copy interface from Free rotation - identical widget, similar results, less thinking for user which is always good thing. In Free Rotation there is drop-down menu for Auto-crop option: None, Widest Area, Largest Area. Additional option - Highest area - does it make sense? |