English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a JPG image and it has specs of white on a black background - I need to count the white on the black - looking for software to do it - can you help?

2006-09-12 09:55:49 · 2 answers · asked by rfleclerc 2 in Science & Mathematics Mathematics

2 answers

I don't know of something that would do it directly, but you could bring the image into some image editing software that allows you to display a "brightness histogram". In your example 'b' pixels would be black and 'w' pixels would be white, so the graph would have two spikes at the left and right of the histogram. You should be able to tell the relative number of black and white pixels when you hover over the bar representing 'black'.

Say there were 63% black and 37% white. From the dimensions you would know the total pixel count and you could extrapolate the number of pixels.

Paint Shop Pro, Photo Shop, GIMP, Irvanview and other programs should have the histogram feature.

Edit: Just double-checked the histogram feature in Paint Shop Pro and not only does it show percentage, it shows the actual count of black pixels.

2006-09-12 10:02:07 · answer #1 · answered by Puzzling 7 · 0 0

This is called "Image Analysis" software. Very similar to photo imaging software except it allows you to count and categorize specific pixel values within images. There are many many choices.

2006-09-12 10:02:13 · answer #2 · answered by waplambadoobatawhopbamboo 5 · 0 0

fedest.com, questions and answers