load.images: Read images

View source: R/imgutils.r

load.imagesR Documentation

Read images

Description

Loads image files in jpeg, tiff or raw format. load.pgm provides legacy support for reading files in pgm format.

Usage

load.images(files, channels=c(1,0,0), scale=1, FLIP=FALSE)
load.pgm(files, imdiff=NULL)

Arguments

files

A vector of character strings with file names

channels

channel weights

scale

scale factor for image resize

FLIP

flip image left for right?

Details

set FLIP=TRUE to reverse mirror imaged interferograms.

Any file extension other than jpg, jpeg, tif, tiff is assumed to be in RAW format. Supported raw formats are determined by libraw and may not be up to date

Value

An array containing the contents of the image files.

Note

load.pgm is the original load.images included for legacy support of greyscale portable anymap files.

Author(s)

M.L. Peck mpeck1@ix.netcom.com


mlpeck/zernike documentation built on Aug. 21, 2024, 8:32 p.m.