delete high intensity with low connectivity from gray scale image

5 次查看(过去 30 天)
i need to remove the high intensity pixels from gray scale image those image have less connectivity as well. as i want to remove the artifacts from image

采纳的回答

Image Analyst
Image Analyst 2014-1-18
You forgot to post your image. How are we supposed to recommend artifact removal algorithms if we can't see the image?
Also, an image needs to be a rectangular array, so pixels can't be removed . You can set them to some value like 0. What are you thinking of when you say "remove"? Or you can crop the image to the bounding box of some region.
I'm not sure what you mean by less connectivity when you say "i need to remove the high intensity pixels from gray scale image those image have less connectivity as well. as i want to remove the artifacts from image". Please define that.
  4 个评论
Filza Ashraf
Filza Ashraf 2014-1-19
and i cant crop that images because its a standard size of MRI and other images have long artifacts so they have covered the head portion as well so help me
Image Analyst
Image Analyst 2014-1-19
编辑:Image Analyst 2014-1-19
I would guess that the original image has the data and the annotation as separate objects in the image file. Was this a dicom file? I don't use medical images like that but I would guess that the image is available inside the file without the annotation burned into it. If that's not available, then the annotation is probably a value of 255 or 65535, and hopefully no head pixels are that intensity, so you can just set those to black:
grayImage(grayImage == 255) = 0;
If the writing is in the head, you need to do a modified median filter, like the attached demo to remove salt and pepper noise.

请先登录,再进行评论。

更多回答(1 个)

Ana Alves
Ana Alves 2015-2-11
Dear all,
I am newby in Imge processing with matlab and I am facing a trouble, for which I need some help/advice.
I have a set of greyscale images where is slighly visible a lighter curve that I want to stand out for further analysis. I tried to do that with the 'Canny' edge detector, but in those images I have also white styrofoam beads (needed for another analysis) that are detected and surrounded. How can I just keep the "curve" (that it is not so bright as the styrofoam beads) for further analysis as the determination of its length and radius?
I thought in using the Hough transform for the last step, but that "curve" is not constant as well it has not a known shape.
Thank you very much in advance,
  2 个评论
Image Analyst
Image Analyst 2015-2-11
Start your own question so we do not keep bugging filza with emails. Be sure to attach your image. You can probably use the circularity to filter out blobs based on shape. We'll discuss that in your new question you're going to post.
Ana Alves
Ana Alves 2015-2-12
Hi,
As suggested I created a new post entitled: 'Edge detector and Hough transform'. An image for example was also added as attachment.
Thank you very much in advance!

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by