How can I apply smoothing to the image with 3*3 filter mask without Image Processing Tool Box (Manually)

 채택된 답변

Image Analyst
Image Analyst 2020년 6월 8일

0 개 추천

Is it gray scale or color? And this seems to be the hot topic of the month. There are so many threads lately on manually computing blurring or filtering of images with nested for loops - just search for them. I'm attaching my demo.

댓글 수: 1

Michel Joge
Michel Joge 2020년 6월 9일
It is gray scale color. Thank you for attaching a demo!

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Rik
Rik 2020년 6월 8일

0 개 추천

A convolution may be what you need.
mask=rand(3,3);mask=mask/sum(mask(:));
IM=uint8(randi(255,100,100));
IM2=convn(IM,mask,'same');
magramane khadidja
magramane khadidja 2021년 5월 28일

0 개 추천

how smoothing image for done by filling up the small regions and dilating the boundary of the thresholded image?

댓글 수: 7

Rik
Rik 2021년 5월 28일
How does this answer the question?
Rik
Rik 2021년 5월 28일
Have a read here and here. It will greatly improve your chances of getting an answer.
That is the best help I can give you.
magramane khadidja
magramane khadidja 2021년 5월 28일
Rik
Rik 2021년 5월 28일
If you don't bother to read my comment and the advice in it, why should I bother helping you?
Image Analyst
Image Analyst 2021년 5월 28일
@magramane khadidja, since this "Answer" has nothing to do with @Michel Joge's question we won't answer you here. We'll answer you in your own question that you should post after reading this:
because we don't think @Michel Joge wants to get emails every time there is some activity about your question, and that would happen if we were to continue this discussion with you here. If you want, you can reply with a link to your new question and then we can answer it there and then we'll delete your "Answer" to Michel that you posted here. In the meantime, look up conv2(), imfilter(), bwareaopen(), bwareafilt(), and imfill() -- depending on exactly what you want to do, the solution will involve one or more of those functions.
magramane khadidja
magramane khadidja 2021년 5월 30일
@Image Analyst yes i want
Image Analyst
Image Analyst 2021년 5월 30일
@magramane khadidja, it's still showing you as not having posted a question of your own (in a new thread like I asked). Where is it? What's the link? Over there, give your code with the functions I listed, and attach your image.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2020년 6월 8일

댓글:

2021년 5월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by