square_image {ExpImage} | R Documentation |
Transform the square image (Transforme a imagem quadrada).
Description
Transforms the image square by placing borders at the edges (Transforma a imagem quadrada colocando bordas nas margens).
Usage
square_image(im,r=1,g=1,b=1,plot=FALSE)
Arguments
im |
:Image in ExpImage format (Imagem no formato do ExpImage). |
r |
:Value from 0 to 1 corresponding to the Red band (Valor de 0 a 1 correspondente a banda de Vermelho). |
g |
:Value from 0 to 1 corresponding to the Green band (Valor de 0 a 1 correspondente a banda de Verde). |
b |
:Value from 0 to 1 corresponding to the Blue band (Valor de 0 a 1 correspondente a banda de Azul). |
plot |
:TRUE if you want to see the image resized (TRUE se desejar ver a imagem redimensionada). |
Value
Returns the resolution in DPI of an image. (Retorna a resolução em uma imagem).
Author(s)
Alcinei Mistico Azevedo (Instituto de ciencias agrarias da UFMG)
See Also
Examples
im=read_image(example_image(10),plot=TRUE)
square_image(im,r=0,g=0,b=1,plot=TRUE)
[Package ExpImage version 0.10.1 Index]