pick_length {ExpImage}R Documentation

Measure objects in the image on click (Medir objetos na imagem ao clicar).

Description

Measure objects in the image on click (Medir objetos na imagem ao clicar).

Usage

pick_length(im,dpi=NULL,NumPoints=2,col="red")

Arguments

im

:Image in ExpImage format (Imagem no formato do ExpImage).

dpi

:Dots Per Inch - Number of pixels per inch in the image (Numero de pixels por polegadas na imagem)

NumPoints

: Number of points on the segment to be measured (Numero de pontos no segmento que se deseja medir).

col

: Font color (Cor da fonte).

Value

Returns the length of a segment in an image on click (Retorna o comprimento de um segmento em uma imagem ao clicar).

Author(s)

Alcinei Mistico Azevedo (Instituto de ciencias agrarias da UFMG)

See Also

pick_color , pick_resolution

Examples

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


im=read_image(example_image(3),plot=TRUE)
dpi=pick_resolution(im,centimeters=8.5)
dpi$dpi
pick_length(im,dpi = dpi$dpi)


## End(Not run)


[Package ExpImage version 0.10.1 Index]