Given an image , how to efficiently (vectorization) make all the elements to zero except the one with information?
Mostrar comentarios más antiguos
The image is scaled color version of absolute value of the matrix.
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 26 de Ag. de 2018
Probably thresholding and masking.
mask = theImage ~= backgroundValue; % Threshold.
theImage(mask) = 0; % Mask
Attach your data in a .mat file if you want more help.
Categorías
Más información sobre Image Preview and Device Configuration en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!