Multicoloured image into a 3 colour image with numerical output?

M
Posted By
Montana
Aug 12, 2003
Views
423
Replies
4
Status
Closed
Hello people!

I need help with two things

1st off – I have an image, a piece of duodenum which i need to convert into areas by colour i.e. instead of having a full colour picture i need a silhouette of the tissue and also i need to identify the non-tissue areas with other colours such as white and green, so in effect going from a 256 colour image (or whatever!) to essentially a 3 tone image with the piece of duodenum in black, but i’m not really sure how to do it.

Secondly, once i get those areas defined I need to convert the area covered by each colour into a percentage of the whole area of the canvass so i can get a numerical output from a picture source
(i.e. there are 40,000 black pixels, 20,000 whit pixels and 4,000 green pixels in a document of 64,000 pixels = 62.5% black, 31.25% white and 6.25% green)

Plz help me or point me in the right direction, I work for your National Health Service and i’m trying to pioneer a technique that may make a certain diagnosis more accurate, but i have limited photoshop skills

Thanks in advance

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

B
Bernie
Aug 12, 2003
Montana,

You can do what you want in Photoshop. First of all, you need to create a separate Selection for each of the areas of interest. You can apply color modifications to each of those selections, but more importantly, when a selection is active, if you do Image> Histogram, the Histogram box will show a pixel count for the active selection.

When no selection is active, or when you have the entire image selected, the same Histogram box will show the total pixel count for the image.

Save your different selections so that you can revisit them.

You can also create a separate Layer for a selection by Layer> New> Layer Via Copy and you can use those layers to get the color-coded areas you want.

— Burton —
M
Montana
Aug 13, 2003
Thanks Burton!! 🙂

This may be the break i was looking for. It is working up to now

THANKS AGAIN!! 🙂
B
Bernie
Aug 14, 2003
You are welcome.
TS
Tim Spragens
Aug 14, 2003
While Photoshop is a great program, and I use it nearly daily, there are other programs designed for image analysis and measurement that will give you less grief trying to do what you want to do. Photoshop is great for the preparation, though.

Claimer: I work for a software company providing such a product, so take my response with appropriate scepticism.

Tim

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

Related Discussion Topics

Nice and short text about related topics in discussion sections