• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

Search for a pixel color

Has anyone ever heard of an application that searches jpgs or bmps or gifs for an RGB pixel value?

input: R, G and B, filenames
output: filenames that contain that pixel value

just curious.  
0
dbrownell83
Asked:
dbrownell83
  • 2
  • 2
  • 2
  • +1
1 Solution
 
CodedKCommented:
No...
You'll need a super computer to do that... :)
0
 
dbrownell83Author Commented:
well, 1024*768 = 786432 pixels

should only take about 3 seconds per pic on a 1Ghz
0
 
Lobo042399Commented:
That would be interesting, yup. Never heard of or seen an app that does that.
0
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 
lherrouCommented:
Actually, it's the sort of thing commonly used in analysis of satellite photos, etc. I remember a few years back talking with someone who was working on a grant to detect smoke and fire in satellite photos of forested areas. They relied on similar approches. I don't know if there are any commercial applications which can do this, though. Seems like something you'd find in a add-on to ImageMagick (http://www.imagemagick.org).
0
 
CodedKCommented:
@ dbrownell83

Lets say that this application exists.
It should handle jpgs, bmps, gifs.
If the application opens the files one by one then ok it should take 3 secs or less.
But if u want to search the disk without opening the files
(Like MS search, "Search for a text inside files"...)
Then it will take ages....

So when you said
"output: filenames that contain that pixel value:

I thought you meant search the disk for files that contain that RGB values not 1 by 1.
So 1 by 1 or all together ?
0
 
dbrownell83Author Commented:
it would take forever if you searched a harddrive that has a few thousand images.
but you'd specify which images to search.


that imagemagick thing looks pretty cool.  I suppose I could use this pixel class and write my own program, though i probably never will.
http://www.imagemagick.org/Magick++/Pixels.html
0
 
lherrouCommented:
Thanks for the points and the "A".

Yes, and also the ImageMagick command-line Identify function (http://www.imagemagick.org/script/identify.php) looks like it comes close, but not quite to the single pixel level.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now