One image 2 diferent colors ,
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Biza Ferreira
il 5 Giu 2013
Commentato: Image Analyst
il 27 Apr 2014
I have one image with a circle, outside the circunference the color are black inside the circle the color before convert to grayscale, is gray, how can apply after normalize de image apply a mask who convert a the background in same color (gray). https://www.dropbox.com/sc/zfp80poi11m8q55/lnRX67BT4L exemple image A and B
0 Commenti
Risposta accettata
Image Analyst
il 5 Giu 2013
It looks like B was simply the convolution of A with a high pass filter, like the Laplacian or dog filter. Do you want to do that or you simply want the black surround to be gray?
2 Commenti
roudabe
il 27 Apr 2014
Would you please let me now how can I use Laplacian high pass filter on images?
Image Analyst
il 27 Apr 2014
kernel = [-1,-1,-1;-1,8,-1;-1,-1,-1];
output = conv2(double(inputImage), kernel, 'same');
imshow(output, []);
Più risposte (1)
Biza Ferreira
il 5 Giu 2013
Modificato: Biza Ferreira
il 5 Giu 2013
1 Commento
Image Analyst
il 5 Giu 2013
So does this answer your question? If so, let's finish it off by marking it as the "Accepted" answer.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!