Multimodal histogram segmentation in image processing
古いコメントを表示
1)Select an initial estimate for T 2)Segment the image using T. This will produce two groups of pixels. G1 consisting of all pixels with gray level values >T and G2 consisting of pixels with values <=T. 3)Compute the average gray level values mean1 and mean2 for the pixels in regions G1 and G2. 4)Compute a new threshold value T=(1/2)(mean1 +mean2) 5)Repeat steps 2 through 4 until difference in T in successive iterations is smaller than a predefined parameter T0 Please give me a matlab code for this algorithm
採用された回答
その他の回答 (1 件)
osama
2014 年 4 月 22 日
0 投票
hello interesting .. i a;lready working on it ,,,, but where is the using of histogram in ur code ?? i wiating response
greetings
6 件のコメント
Image Analyst
2014 年 4 月 22 日
The histogram was not needed in her algorithm so it was not computed.
osama
2014 年 4 月 24 日
hello Image Analyst .. thanks for replay i just need steps of code to get the values if thresholds in multimodel histogram ... if possible to get ur advice
Image Analyst
2014 年 4 月 24 日
Where you put multiple thresholds depends entirely on the situation. You have to develop an algorithm that works good for your particular images, and I don't know what that might be, especially after not even seeing your images. If you can use fixed thresholds, that is easiest and is often used in situations where you have good control over the lighting and exposure of your images, like a machine vision inspection task.
osama
2014 年 4 月 25 日
hi .. thanks just don't kno how to start .... i have implement histogram for image then i need to calculate threshold values in histogram..?some one adviced me to use Gaussian filter first (for what )... also ques, what mean local minimun and how to apply ? thanks for help ... i have a task and just have some basics in matlab// all respect )
Christina
2014 年 9 月 25 日
does this algorithm works for multispectral images?
Image Analyst
2014 年 9 月 25 日
Yes. You could threshold each spectral image. You can combine the thresholded binary images if needed.
カテゴリ
ヘルプ センター および File Exchange で Image Segmentation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!