Duplicate Filter Visual Duplicates marked as "not visual duplicates (one has trapsarency)"
Hydrus version
638
Qt major version
Qt 6
Operating system
Windows 11
Install method
Extract
Install and OS comments
No response
Bug description and reproduction
- Import two of the same images into the client, one in the png format and other in the jpeg format, make sure the files both have the same resolution and png does not contain any transparency (visible to the eye)
- Prepare the duplicates filter and start a maximum search distance of pair 0 duplicate filter
- Even though the files are visual duplicates they are marked as not visual duplicates (this could hinder automated duplicates processing)
Log output
Thank you for this report. My 'visual duplicate' test doesn't support transparency yet. I hope to revisit it and write some sensible new tech to handle alpha channel comparisons. Generally speaking, I'm probably going to hedge my bets when one file has transparency and another doesn't since they aren't what I consider visual duplicates (for instance, try drawing them on a green or red background--they'll look different in one of those situations). I'll deliver a 'not visual duplicates' result to start, and maybe add more options later. However I think I can deliver a positive result when both files have an alpha channel and that alpha channel is visually similar (in mask terms).
I got this done for v644 this Wednesday! Let me know how it works for you.
This unfortunately does not seem to work, at least on the latest version. I'm getting a bunch of duplicates on the auto resolutions that get skipped because one has transparency other has alpha but visually those two files are completely same and does not have transparency at all (one is png other is jpeg) for version v678
Would it be possible to reopen this issue? I do not appear to have the permission to do so. Thanks for the help.