resize                package:EBImage                R Documentation

_I_m_a_g_e _t_r_a_n_s_f_o_r_m_a_t_i_o_n: _r_o_t_a_t_i_o_n, _r_e_s_i_z_e, _e_t_c.

_D_e_s_c_r_i_p_t_i_o_n:

     Functions to rotate, mirror and resize images.

_U_s_a_g_e:


         affinet(x, sx=0, rx=0, ry=0, sy=0, tx=0, ty=0, ...)
         flip(x, ...)
         flop(x, ...)
         resample(x, w, h, ...)
         resize(x, w, h, blur=1, ...)
         rotate(x, angle=90, ...)


_A_r_g_u_m_e_n_t_s:


     '_x' An object of 'Image-class'. 

     '_s_x, _r_x, _r_y, _s_y, _t_x, _t_y' Elements of the affine matrix. 

     '_w, _h' Width and height of a new resized/resampled image. One of
          these arguments can be missing to enable proportional resize.            

     '_b_l_u_r' The blur factor, where 1 ('TRUE') is blurry,  0 ('FALSE')
          is sharp.  

     '_a_n_g_l_e' Image rotation angle in degrees.  

     '...' Reserved for future use. 

_V_a_l_u_e:

     A transformed image in an object of 'Image-class'.

_D_e_t_a_i_l_s:

     'affinet' transforms an image as dictated by the affine matrix. 

     'flip' creates a vertical mirror image by reflecting the pixels 
     around the central x-axis.

     'flop' creates a horizontal mirror image by reflecting the pixels 
     around the central y-axis.

     'resample' scales an image to the desired dimensions with pixel 
     sampling. Unlike other scaling methods, this method does not
     introduce  any additional color into the scaled image.

     'resize' scales an image to the desired dimensions with one of the
      filters that can be set using the 'Image-class' accessor method
     'sampleFilter'. Most of the filters are FIR (finite  impulse
     response), however, Bessel, Gaussian, and Sinc are IIR (infinite 
     impulse response). Bessel and Sinc are windowed (brought down to
     zero) with  the Blackman filter.

     'rotate' creates a new image that is a rotated copy of an existing
     one.  Positive angles rotate counter-clockwise (right-hand rule),
     while negative  angles rotate clockwise. Rotated images are
     usually larger than the  originals and have 'empty' triangular
     corners. X axis. Empty triangles left  over from shearing the
     image are filled with the background color.

_A_u_t_h_o_r(_s):

     Copyright (c) 2005-2006 Oleg Sklyar : osklyar@ebi.ac.uk

_R_e_f_e_r_e_n_c_e_s:

     _ImageMagick_: <URL: http://www.imagemagick.org>.

_S_e_e _A_l_s_o:

     ' Image-class, sampleFilter '

