powered by
Transforms the image square by placing borders at the edges (Transforma a imagem quadrada colocando bordas nas margens).
square_image(im,r=1,g=1,b=1,plot=FALSE)
Returns the resolution in DPI of an image. (Retorna a resolução em uma imagem).
:Image in ExpImage format (Imagem no formato do ExpImage).
:Value from 0 to 1 corresponding to the Red band (Valor de 0 a 1 correspondente a banda de Vermelho).
:Value from 0 to 1 corresponding to the Green band (Valor de 0 a 1 correspondente a banda de Verde).
:Value from 0 to 1 corresponding to the Blue band (Valor de 0 a 1 correspondente a banda de Azul).
:TRUE if you want to see the image resized (TRUE se desejar ver a imagem redimensionada).
Alcinei Mistico Azevedo (Instituto de ciencias agrarias da UFMG)
pick_color , pick_length
pick_color
pick_length
im=read_image(example_image(10),plot=TRUE) square_image(im,r=0,g=0,b=1,plot=TRUE)
Run the code above in your browser using DataLab