Filter löschen
Filter löschen

how can calculate the frequency of given gray scale image?...

3 Ansichten (letzte 30 Tage)
sumi
sumi am 25 Mär. 2014
Beantwortet: Image Analyst am 25 Mär. 2014
I am doing split and merge segmentation algorithm for segmentation. In that algorithm first will be determined bimodality parameter using frequency and variance of gray-level input image, but i dont know how to calculate frequency value from an input image...

Antworten (1)

Image Analyst
Image Analyst am 25 Mär. 2014
I assume you mean frequency of intensity rather than spatial frequency. So just use imhist():
[pixelCounts, grayLevels] = imhist(grayImage, 256);

Kategorien

Mehr zu Modify Image Colors finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by