Applying smoothing to image

7 vues (au cours des 30 derniers jours)
Michel Joge
Michel Joge le 8 Juin 2020
Commenté : Image Analyst le 30 Mai 2021
How can I apply smoothing to the image with 3*3 filter mask without Image Processing Tool Box (Manually)

Réponse acceptée

Image Analyst
Image Analyst le 8 Juin 2020
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 commentaire
Michel Joge
Michel Joge le 9 Juin 2020
It is gray scale color. Thank you for attaching a demo!

Connectez-vous pour commenter.

Plus de réponses (2)

Rik
Rik le 8 Juin 2020
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');
  1 commentaire
Michel Joge
Michel Joge le 8 Juin 2020
Thank you!

Connectez-vous pour commenter.


magramane khadidja
magramane khadidja le 28 Mai 2021
how smoothing image for done by filling up the small regions and dilating the boundary of the thresholded image?
  7 commentaires
magramane khadidja
magramane khadidja le 30 Mai 2021
@Image Analyst yes i want
Image Analyst
Image Analyst le 30 Mai 2021
@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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by