Filter/sort by dominating color

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

rgpires
Posts: 3
Joined: Wed Oct 30, 2013 12:43 pm

Filter/sort by dominating color

Post by rgpires »

Would it be possible to add to xnview MP browser a filter/sort by color option, like googles image search tool?
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: filter/sort by color

Post by m.Th. »

rgpires wrote:Would it be possible to add to xnview MP browser a filter/sort by color option, like googles image search tool?
Filter by color is possible in the Categories Tree. Just left click on the desired color.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: filter/sort by color

Post by helmut »

m.Th. wrote:
rgpires wrote:Would it be possible to add to xnview MP browser a filter/sort by color option, like googles image search tool?
Filter by color is possible in the Categories Tree. Just left click on the desired color.
Hmm, I think what rgpires means is a "search by image colour". E.g. you choose colour red and all images which are mainly red are displayed. A Google image search sample which searches for photos of fish with pink dominating.

The images' main colour would be an interesting search criteria but this is not implemented in XnView 0.61, yet.
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: filter/sort by color

Post by m.Th. »

helmut wrote:
m.Th. wrote:
rgpires wrote:Would it be possible to add to xnview MP browser a filter/sort by color option, like googles image search tool?
Filter by color is possible in the Categories Tree. Just left click on the desired color.
Hmm, I think what rgpires means is a "search by image colour". E.g. you choose colour red and all images which are mainly red are displayed. A Google image search sample which searches for photos of fish with pink dominating.

The images' main colour would be an interesting search criteria but this is not implemented in XnView 0.61, yet.
Oh, I see.

But now I'm thinking that this, in order to be fast, needs enough processing at thumbnail generation stage in order to get out the color info. Also, it is disputable how the search will match the searched color with the saved palette of the first "n" colors / image.

And the main question: It is really useful?
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
rgpires
Posts: 3
Joined: Wed Oct 30, 2013 12:43 pm

Re: Filter/sort by dominating color

Post by rgpires »

And the main question: It is really useful?
Cant speak for others but to me it would.
I have a lot of images i found on the internet over the years, i get them mainly for art inspiration and the like. Say i want something sad, i search for black/dark blue pictures, something warm > yellow/greish pictures, and so on.
It would also be useful for people that work with photoshop or something (marketing), as sometimes they have to match a specific image color in their work.

No other image browser has this option so i thought i should at least ask here.
This feature could be selectable instead of forced as to not use processor unnecessarily.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: Filter/sort by dominating color

Post by JohnFredC »

Actually, Picasa has had a "filter by color" functionality for years and I have found it quite useful.

In Picasa, go to Tools->Experimental->Search For

... and select one of the named colors in the list. Works pretty well.
John
User avatar
XnTriq
Moderator & Librarian
Posts: 6451
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Filter/sort by dominating color

Post by XnTriq »

It's important to differentiate between dominant and average color, I guess.
If you do a search on Pinterest and turn the images off & on in your browser, you'll see that they associate what appears to be the average color as background for each search result, while a Google search will yield images with one (or even two) (pre)dominant color(s).
rgpires
Posts: 3
Joined: Wed Oct 30, 2013 12:43 pm

Re: Filter/sort by dominating color

Post by rgpires »

Actually, Picasa has had a "filter by color" functionality for years and I have found it quite useful.

In Picasa, go to Tools->Experimental->Search For

... and select one of the named colors in the list. Works pretty well.
Thanks. Didnt know it, im usually afraid of trying experimental stuff.
It's important to differentiate between dominant and average color, I guess.
If you do a search on Pinterest and turn the images off & on in your browser, you'll see that they associate what appears to be the average color as background for each search result, while a Google search will yield images with one (or even two) (pre)dominant color(s).
Dont quite understand, is it a suggestion for me?
Some of those softwares do have the functionality, interesting.
User avatar
XnTriq
Moderator & Librarian
Posts: 6451
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Filter/sort by dominating color

Post by XnTriq »

rgpires wrote:Dont quite understand, is it a suggestion for me?
It's “food for thought” mainly aimed at Pierre, the developer of XnView, in case he decides to implement this feature (-;
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: Filter/sort by dominating color

Post by m.Th. »

Also, another thing to mention is that IMHO Pierre should choose an on-demand approach rather than indexing the color statistical data in the DB.

We need the fastest time when we build thumbnails and when we retreive them / do queries on DB. We can pay for a sequential scan on the files and gather the needed data after pressing the 'Search by Color'.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -