linearize_image {ExpImage} | R Documentation |
Image linearization (Linearizacao da imagem).
Description
This function linearize matrix image (Esta funcao lineariza a imagem).
Usage
linearize_image(im,exclude=FALSE)
Arguments
im |
:Image object (Imagem com o objeto). |
exclude |
:Logical value, if TRUE, pixels with zero will be excluded (Valor logico, se for TRUE o valor zero sera excluido da matriz). |
Value
Return images size (Retorna o tamanho das imagens).
Author(s)
Alcinei Mistico Azevedo (Instituto de ciencias agrarias da UFMG)
See Also
Examples
im1=read_image(example_image(2),plot=TRUE)
B=gray_scale(im = im1,method = "b",plot=TRUE)
plot_image(B,col=3)
plot_image(B,col=2,axis = TRUE)
m=segmentation(B,treshold =0.38,selectHigher = FALSE,fillHull =TRUE,plot = TRUE )
Lin1=linearize_image(im =im1)
head(Lin1)
info_image(Lin1)
Lin2=linearize_image(im=m)
head(Lin2)
info_image(Lin2)
Lin3=linearize_image(im=m,exclude = TRUE)
head(Lin3)
info_image(Lin3)
[Package ExpImage version 0.10.1 Index]