Learn R Programming

ExpImage (version 0.10.1)

contour_image: Contorno da imagem segmentada (Outline of the segmented image.)

Description

Esta funcao retorna o contorno da imagem segmentada (This function returns the outline of the segmented image).

Usage

contour_image(img,plot=TRUE)

Value

Retorna o contorno de objetos em uma imagem binaria (Returns the outline of objects in a binary image ).

Arguments

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)).

Author

Alcinei Mistico Azevedo (Instituto de ciencias agrarias da UFMG)

See Also

edit_image , edit_imageGUI

Examples

Run this code
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)


Run the code above in your browser using DataLab