필터 지우기
필터 지우기

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

조회 수: 6 (최근 30일)
sumi
sumi 2014년 3월 25일
답변: Image Analyst 2014년 3월 25일
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...

답변 (1개)

Image Analyst
Image Analyst 2014년 3월 25일
I assume you mean frequency of intensity rather than spatial frequency. So just use imhist():
[pixelCounts, grayLevels] = imhist(grayImage, 256);

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by