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

1 visualización (últimos 30 días)
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.

Respuestas (1)

Constantino Carlos Reyes-Aldasoro
Constantino Carlos Reyes-Aldasoro el 2 de Jun. de 2023
Post what you have done so that it is possible to help.
  2 comentarios
Charu
Charu el 2 de Jun. de 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 el 2 de Jun. de 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);

Iniciar sesión para comentar.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by