scaled Otsu Binarization or Normalized?
Mostrar comentarios más antiguos
I have binarized an image using graythresh, I want to know by using graythresh, dividing and multiplying the original values by maximum values, is this binarization method called scaled or normalized Otsu.
im = imread('flower.jpg');
max_level = double(max(im(:)));
min_level = double(min(im(:)));
lev = graythresh(double(im)/max_level) * max_level;
bw = (im>=lev);
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Type Conversion 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!