please help me with the problem for dividing an image into blocks.i have given the algorithm.
조회 수: 1 (최근 30일)
이전 댓글 표시
I am working on super pixel segmentation algorithm for detecting cloud images form clear sky images based on pixel intensity values.in this super pixel segmentation we want to divide an image into irregular blocks base on texture similarity, brightness similarity and contour continuity for detecting cloud images from clear sky images.here are the images I can give for super pixel segmentation.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146755/image.png)
figure c is division of an image based on super pixel segmentation.
I can give you the algorithm for super pixel segmentation.
Input: an RGB cloud image, a division of cloud image after applying superpixel segmentation.
Output: detection result.
step1: transfer RGB image to R-B feature image, which is simply difference of the R-channel and B-channel;
step2: normalize the elements of R-B feature image to the range of 0 ∼ 255;
step3: calculate local threshold for each superpixel on the R-B feature image;
step4: calculate the threshold matrix by bilinear interpolation using the local thresholds of all of the superpixels;
step5: compare the threshold matrix with R-B feature image pixel by pixel to get the final detection result.
if threshold is >0 it is cloud otherwise clear sky.
can u plz help me...I provided a link for the paper
댓글 수: 1
Geoff Hayes
2015년 1월 12일
Shamili - what in particular do you need help with? If you have started to implement the algorithm in MATLAB, then what problems are you experiencing? Please try to be specific and include any error messages that you are observing.
답변 (1개)
Image Analyst
2015년 1월 12일
I'm not sure what is wrong with your code, if anything. You did not attach it or the paper. Anyway, the FAQ would probably apply : http://matlab.wikia.com/wiki/FAQ#Can_you_program_up_the_algorithm_in_this_article_for_me_and_explain_it_to_me.3F
Here is a similar algorithm: http://www.mathworks.com/matlabcentral/fileexchange/37197-dem--diffused-expectation-maximisation-for-image-segmentation - maybe you can just use that.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!