v1.11.5 The similar image results are sorted incorrectly.

*** Please report new bugs here! ***

Moderators: xnview, Dreamer

alee001
Posts: 322
Joined: Sun Sep 04, 2022 4:43 am

v1.11.5 The similar image results are sorted incorrectly.

Post by alee001 »

In the similar image results, assume the group sorting is as follows:

Original sort: A.jpg B.jpg C.jpg (Similarity 0, 42, 42, A.jpg as reference)

Reference sort: C.jpg A.jpg B.jpg (Similarity 42, 0, 42, C.jpg as reference)

Reference sort: B.jpg C.jpg A.jpg (Similarity 42, 42, 0, B.jpg as reference)

Expected sort: B.jpg C.jpg A.jpg (Similarity 100, 100, 0, B.jpg as reference)

In reality, B.jpg and C.jpg are the same image, but after right-clicking the image and selecting "Reference Sort," the similarity cannot be updated to find the correct image. Is there an error?
User avatar
xnview
Author of XnView
Posts: 48331
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: v1.11.5 The similar image results are sorted incorrectly.

Post by xnview »

post screenshots, and perhaps images to reproduce
alee001
Posts: 322
Joined: Sun Sep 04, 2022 4:43 am

Re: v1.11.5 The similar image results are sorted incorrectly.

Post by alee001 »

If you create a copy of any image and then use the similarity search results, as shown in the image, no matter how you rearrange the images, the original and the copy will not show a 100% similarity. The problem is that they are not dynamically compared for similarity.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 48331
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: v1.11.5 The similar image results are sorted incorrectly.

Post by xnview »

same problem in 1.11.2?
alee001
Posts: 322
Joined: Sun Sep 04, 2022 4:43 am

Re: v1.11.5 The similar image results are sorted incorrectly.

Post by alee001 »

xnview wrote: Thu Jul 02, 2026 5:30 am same problem in 1.11.2?
This isn't a problem specific to a particular version; it's a persistent issue. This limitation arises when using multiple controls unless a single control is used to compare image similarity (which can be numerous).
alee001
Posts: 322
Joined: Sun Sep 04, 2022 4:43 am

Re: v1.11.5 The similar image results are sorted incorrectly.

Post by alee001 »

As shown in the image, due to a bug in the original sorting, identical images are often mistakenly placed on the right or last for similarity comparison, making them impossible to find correctly. Please review the sorting issue.
alee001
Posts: 322
Joined: Sun Sep 04, 2022 4:43 am

Re: v1.11.5 The similar image results are sorted incorrectly.

Post by alee001 »

The following simple image example demonstrates a flaw in similarity comparison: when the similarity is set to <= 57, the original image t03.jpg and the copy t03 - Copy.jpg cannot be placed to the left or grouped.
You do not have the required permissions to view the files attached to this post.