contour_image {ExpImage} | R Documentation |
Esta funcao retorna o contorno da imagem segmentada (This function returns the outline of the segmented image).
contour_image(img,plot=TRUE)
img |
Este objeto deve conter uma imagem contida em uma matriz binaria. |
plot |
Indica se sera apresentada (TRUE) ou nao (FALSE) (default) a imagem segmentada (Indicates whether the segmented image will be displayed (TRUE) or not (FALSE) (default)). |
Retorna o contorno de objetos em uma imagem binaria (Returns the outline of objects in a binary image ).
Alcinei Mistico Azevedo (Instituto de ciencias agrarias da UFMG)
end=example_image(3)
im=read_image(end,TRUE)
b=gray_scale(im = im,method = "g",plot = TRUE)
m=segmentation(b,threshold = "otsu",selectHigher = FALSE,fillHull = TRUE,plot=TRUE)
contour_image(m)