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

View source: R/contour_image.R

contour_imageR Documentation

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)

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

Value

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

Author(s)

Alcinei Mistico Azevedo (Instituto de ciencias agrarias da UFMG)

See Also

edit_image , edit_imageGUI

Examples

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)



ExpImage documentation built on Jan. 6, 2023, 1:24 a.m.