Transform img: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Scott
(New page: ===Purpose=== Flips or rotates a DataSet image. ===Synopsis=== :out = transform_img(in,action) ===Description=== TRANSFORM_IMG is a generic image transformation function which applies ...)
 
imported>Scott
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:
===See Also===
===See Also===


[[cropimage]], [[flipud_img]],[[rotate_img]]
[[cropimage]], [[flipud_img]], [[rot90_img]], [[transpose_img]]
 
 
 
 
 
 
 
TRANSFORM_IMG is a generic image transformation function which applies
any one of several standard image transformation operations to the
image-mode of the DataSet. Inputs are an image type DataSet object (in)
and (action) which is one of the following strings:
  'flipud' : mirror the image in the vertical direction.
  'fliplr' : mirror the image in the horizontal direction.
  '90'    : rotate 90 degrees in a counter-clockwise direction.
  '-90'    : rotate 90 degrees in a clockwise direction.
  '180'    : rotate 180 degress.
The output is a DataSet object.
 
I/O: out = transform_img(in,action)
 
See also: CROPIMAGE, FLIPUD_IMG, ROTATE_IMG

Latest revision as of 09:43, 16 October 2009

Purpose

Flips or rotates a DataSet image.

Synopsis

out = transform_img(in,action)

Description

TRANSFORM_IMG is a generic image transformation function which applies any one of several standard image transformation operations to the image-mode of the DataSet.

Inputs

  • in = image type DataSet object.
  • action = which is one of the following strings:
'flipud' : mirror the image in the vertical direction.
'fliplr' : mirror the image in the horizontal direction.
'90'  : rotate 90 degrees in a counter-clockwise direction.
'-90'  : rotate 90 degrees in a clockwise direction.
'180'  : rotate 180 degrees.

See Also

cropimage, flipud_img, rot90_img, transpose_img