Views
145
Replies
2
Status
Closed
Hi,
In Photoshop one can manually:
Open a graphic (say jpeg or gif, possibly png)
Click on the Eyedropper Tool
Select a point or area
Click on the foreground/background icon and obtain the RGB, hexa, HSB, etc values for the point/area selected.
Problem is, we need to do this for thousands, hundreds of thousands of images, for not necessarily the whole of the image(s) but a major part of it. (Some sort of sampling would work.)
Is there a way to automate this?
We have images of Fabrics and need to categorize them by color. So for example say we have a Fabric that has "Red" & "White" stripes. We need to classify that Fabric as "Red" and "White" so people can search the database for Red or White.
Certainly depending upon the lighting, the scanner, camera that created the image, any given "Reddish" pixel might have a slightly different value than the one (or group) next to it.
OK, so we set up a classification range, system that says in essence "if the RGB (or hexa, or HSB, or Lab, or whatever) value is between such and such and such then classify as "Red"
Ideally we would like to get a report of the analysis along these lines, a histograph (not drawn but the data):
255,000,000 occurred 30% of the time
102,051,204 occurred 20% of the time
etc. etc.
I realize PS cannot do the number crunching end (or can it?) so as to report frequencies, but can we automate the process?
A. It automatically reads in a file (as it does with say batch processing for format conversion) – as opposed to manually opening and selecting an image
B. select all or several pixels/areas – as opposed to manually selecting w the eyedropper tool
C. spit out a text file or such reporting the values it found – as opposed to user manually noting the values (on paper or typing into database)
We could then read in the text file to some sort of number crunching routine to come up with the "color(s)"
Alternatively, can anyone give me a hand in picking apart jpeg and/or gif files to read the color values for the pixels?
See this web page for barebones outline What is Blue? <http://www.blueorbwise.net/project1/whatisblue/index.html>
Thanks for the help.
In Photoshop one can manually:
Open a graphic (say jpeg or gif, possibly png)
Click on the Eyedropper Tool
Select a point or area
Click on the foreground/background icon and obtain the RGB, hexa, HSB, etc values for the point/area selected.
Problem is, we need to do this for thousands, hundreds of thousands of images, for not necessarily the whole of the image(s) but a major part of it. (Some sort of sampling would work.)
Is there a way to automate this?
We have images of Fabrics and need to categorize them by color. So for example say we have a Fabric that has "Red" & "White" stripes. We need to classify that Fabric as "Red" and "White" so people can search the database for Red or White.
Certainly depending upon the lighting, the scanner, camera that created the image, any given "Reddish" pixel might have a slightly different value than the one (or group) next to it.
OK, so we set up a classification range, system that says in essence "if the RGB (or hexa, or HSB, or Lab, or whatever) value is between such and such and such then classify as "Red"
Ideally we would like to get a report of the analysis along these lines, a histograph (not drawn but the data):
255,000,000 occurred 30% of the time
102,051,204 occurred 20% of the time
etc. etc.
I realize PS cannot do the number crunching end (or can it?) so as to report frequencies, but can we automate the process?
A. It automatically reads in a file (as it does with say batch processing for format conversion) – as opposed to manually opening and selecting an image
B. select all or several pixels/areas – as opposed to manually selecting w the eyedropper tool
C. spit out a text file or such reporting the values it found – as opposed to user manually noting the values (on paper or typing into database)
We could then read in the text file to some sort of number crunching routine to come up with the "color(s)"
Alternatively, can anyone give me a hand in picking apart jpeg and/or gif files to read the color values for the pixels?
See this web page for barebones outline What is Blue? <http://www.blueorbwise.net/project1/whatisblue/index.html>
Thanks for the help.
Must-have mockup pack for every graphic designer 🔥🔥🔥
Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.