HOW CAN I CALCULATE THE PIXEL DENSITY OF AN SILHOUTTE USING MATLAB?

1 vue (au cours des 30 derniers jours)
Dwayne
Dwayne le 3 Avr 2013
I NEED THE CODE TO FIND PIXEL DENSITY OF AN GREY IMAGE.
  2 commentaires
Image Analyst
Image Analyst le 3 Avr 2013
Modifié(e) : Image Analyst le 3 Avr 2013
What do you mean? The density is 100% isn't it? Let's say your silhouette is this:
1 1 1 1 1
1 0 0 0 1
1 0 0 1 1
1 1 1 1 1
The zeros are the dark silhouette and the 1's are the light background. The "density" of the silhouette, or the number of zeros in the area that has zeros is 100% isn't it? How do you define density? Is it optical density, like the gray level, or is it something per unit area? Try reading this: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by