how to estimate the density of each pixel in the image?

2 ビュー (過去 30 日間)
sheno39
sheno39 2013 年 9 月 12 日
コメント済み: Image Analyst 2019 年 9 月 13 日
density for each pixel

採用された回答

Image Analyst
Image Analyst 2013 年 9 月 12 日
Define density. Isn't it just the pixel value, like
pixelValue = grayImage(row, column);
Please see my image segmentation tutorial and other demos: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
And what does parzen (your tag) have to do with anything?
  4 件のコメント
Warid Islam
Warid Islam 2019 年 9 月 13 日
Hi Image Analyst,
Does finding the MEAN value of the image corresponds to the PIXELVALUE?
Image Analyst
Image Analyst 2019 年 9 月 13 日
No, in my code above pixelValue is just the gray level at (row, column) location (just one pixel), not the mean gray level over all pixels in the entire image.

サインインしてコメントする。

その他の回答 (1 件)

Laurent
Laurent 2013 年 9 月 12 日
I am not sure what you mean, but if it is the intensity of a pixel, you can access that as follows:
intensity=yourimage(50,60);
gives you the intensity of pixel 50,60 in 'yourimage'.
If you want to know the pixel density of your image, you need to know the number of pixels in your image along each dimension and the 'real' size of your image along each dimension.

カテゴリ

Help Center および File Exchange3-D Volumetric Image Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by