How to remove pictoral muscle and other artifacts from breast color image not grayscale image
1 view (last 30 days)
Show older comments
I have a color image and i want to remove the pictoral muscle and other artifacts on this image.I want to keep the image as color image. Thanks
0 Comments
Answers (1)
Image Analyst
on 21 Oct 2017
You can segment the image to find the parts you want to mask out. Then do this:
% Mask the image using bsxfun() function to multiply the mask by each channel individually.
maskedRgbImage = bsxfun(@times, rgbImage, cast(mask, 'like', rgbImage));
2 Comments
Image Analyst
on 22 Oct 2017
Since I don't have your image (you did not post it for some reason) I can't do an automatic way. So in that case, just use imfreehand(). See attached demo.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!