I am trying to compute the background markers of an image and in that process I am first binarizing the image by thresholding.For that I am using "imbinarize" and it is not working.I have given the description below.
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Prachi Sharma
el 5 de Oct. de 2016
Comentada: Prachi Sharma
el 6 de Oct. de 2016
Given is the code below.Also Iobrcbr is of type 512*512 uint8 and the code gives the following error-"Undefined function 'imbinarize' for input arguments of type 'uint8'."
%%Computing Background Markers
bw=imbinarize(Iobrcbr);
figure
imshow(bw), title('Thresholded opening-closing by reconstruction (bw)')
0 comentarios
Respuesta aceptada
Massimo Zanetti
el 5 de Oct. de 2016
In Matlab there is no "imbinarize" function. If you have such funciton, copy it into the folder where you are running your script.
0 comentarios
Más respuestas (2)
Prachi Sharma
el 5 de Oct. de 2016
Editada: Prachi Sharma
el 5 de Oct. de 2016
2 comentarios
Massimo Zanetti
el 6 de Oct. de 2016
Which version do you have? Type "ver" on your command line to get it. However watershed is supported also in earlier versions of Matlab (for example 2014).
Ver también
Categorías
Más información sobre Computer Vision Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!