Overlay binary image image on contrast stretched image to get the final result
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mit desai
el 25 de Mayo de 2020
Comentada: Mit desai
el 26 de Mayo de 2020
I have to create a function which should take as input the contrast stretched image and the refined binary mask. The output should be the overlay image.Can anyone help?
0 comentarios
Respuesta aceptada
Image Analyst
el 25 de Mayo de 2020
Try imoverlay:
% Read in image.
grayImage = imread('cameraman.tif');
% Read a binary image into the workspace.
BW = imread('text.png');
% Burn the binary image into the grayscale image, specifying the color to be used for the binary mask.
rgbImage = imoverlay(grayImage, BW, 'yellow');
% Display the result.
imshow(rgbImage)
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!