shape_file.plot: Plotar os objetos/parcelas do shapefile na imagem

View source: R/shape_file.plot.R

shape_file.plotR Documentation

Plotar os objetos/parcelas do shapefile na imagem

Description

Esta funcao desenha as linhas dos objetos/parcelas selecionadas pela funcao shape_file.create.

Usage

shape_file.plot(im,ShapeFile,colorLines="red",colorNames="red")

Arguments

im

:Este objeto deve conter uma imagem no formato do EBImage/ExpImage.

ShapeFile

Objeto criado pela funcao shape_file.create

colorLines

Nome da cor das linhas do grid que serao apresentadas. Default e "red".

colorNames

Nome da cor das nomes plotados sobre cada grid. Default e "red".

Value

Apresenta a imagem com a sobreposicao das linhas referentes ao shapefile (It presents the image with the overlay of the lines corresponding to the shapefile).

See Also

shape_file.create, shape_file.split

Examples

## Not run: 
# Not run: Depende da interacao com uma interface grafica
#(It depends on interaction with a graphical interface).

end=example_image(13)
im=read_image(end,plot=TRUE)
A=shape_file.create(im,rows=5,cols=5,rectangular=F,Matrix=NULL,SelectSeveral = F)
B=shape_file.BorderExtract(im,A,p.rows = .9,p.cols = .9)
shape_file.plot(im,ShapeFile = B)
shape_file.split(im =im,shapefile = B,path = getwd(),namesFile = "TEST",type = ".jpg")

## End(Not run)

ExpImage documentation built on May 29, 2024, 11:10 a.m.