How to find active contours of multiple images simultaneously and how to overlay multiple of them?

1 vue (au cours des 30 derniers jours)
I have tried various codes for active contour using ROI but it works for one image at a time and overlay using cast outpict function it decreases brightness of other boundary.

Réponses (1)

Constantino Carlos Reyes-Aldasoro
Post what you have done so that it is possible to help.
  2 commentaires
Charu
Charu le 2 Juin 2023
i have applied this code to find active contour of an image and get this image. i want to get several of them together.
A = imread('Charu 5.jpg');
imshow(A)
I = rgb2gray(A);
figure
imshow(I)
r = drawrectangle;
mask = createMask(r);
bw = activecontour(I,mask,1,'edge');
hold on;
visboundaries(bw,'Color','r');
Charu
Charu le 2 Juin 2023
Also, for overlaying multiple images, i used this code. but it decreases brightness of upper image on successive overlaying.
A = imread('A0.jpg');
B = imread('A1.jpg');
C = imread('A2.jpg');
D = imread('A3.jpg');
E = imread('A4.jpg');
F = imread('A5.jpg');
G = imread('A6.jpg');
outpict = cat(7,A,B,C,D,E,F,G);
outpict = cast(mean(outpict,7),class(A));
imshow(outpict);

Connectez-vous pour commenter.

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by