How do i remove unwanted/false edge pixels ?

16 ビュー (過去 30 日間)
Sandesh Puligundla
Sandesh Puligundla 2012 年 8 月 31 日
I am currently working on detecting edges in an image using fuzzy logic, the resulting image identifies unwanted pixels. How do i go about this? I tried using the bwNoiseReduction function but it wont help. How do i approach this? http://imageshack.us/photo/my-images/833/71582550.jpg/

回答 (2 件)

Image Analyst
Image Analyst 2012 年 8 月 31 日
I never heard of that function. I think you need to change the parameters of your edge detector so you don't get to many spurious edges in the first place.
  4 件のコメント
Sandesh Puligundla
Sandesh Puligundla 2012 年 9 月 7 日
How?
Image Analyst
Image Analyst 2012 年 9 月 7 日
Just blur the image before sending it in to your fuzzy logic edge detector. How about
blurredImage = conv2(single(grayImage), ones(15));
edgeImage = myFuzzyLogicEdgeDetector(blurredImage);

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


HSO
HSO 2012 年 9 月 1 日
Hello, You can use an Median Filter First (Salt and Pepper)with the adquate size to remove any spike noise from the image an then pass by an Gaussian Filter to smooth the image. That depends of course the conditions of the original image.
Regarding the detector, what kind of implementation are you using? Using Sobel? or just an simple Thresh over first derivative? second?, other ? remember that some detector on its implementation of kernel is very sensibility to noise.You can use Canny edge detector based on the search for local directional maxima in the gradient magnitude.
Cheers
  2 件のコメント
Sandesh Puligundla
Sandesh Puligundla 2012 年 9 月 5 日
編集済み: Sandesh Puligundla 2012 年 9 月 5 日
Fuzzy rule based edge detection method using standard deviation and gradient values. Apparently the code is supposed to outperform standard techniques by detecting more edges in the image.
Image Analyst
Image Analyst 2012 年 9 月 5 日
Every edge detector has parameters that you can adjust. Like I said, you need to adjust them to get edges that better reflect what you think they should be.

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

Community Treasure Hunt

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

Start Hunting!

Translated by