removing background and superimpose pictures. I really need help on this problem! thanks for your help
Afficher commentaires plus anciens
%Task 1 - Load image1.jpg and create figure 1
disp('Task 1 See figure 1, image1.jpg');
I=imread('image1.jpg');
figure(1);
image(I);
pause
%Green component
disp('Green component');
G = I(:,:,2);
image(G),colormap([zeros(256,1),[0:1/255:1]', zeros(256,1)]);
pause
i attach the image. what code should i write to prompt a number between 0 and 255 next? Use the matrix from green component to create new matrix with size n x n; new matrix with size m x n x 3; and replace original image with white background.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Arithmetic dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!