Home > ISET > utility > image > imageInterpolate.m

imageInterpolate

PURPOSE ^

Resample the data in inImg to a row and col size.

SYNOPSIS ^

function img = imageInterpolate(inImg,r,c)

DESCRIPTION ^

 Resample the data in inImg to a row and col size.

  img = imageInterpolate(inImg,r,c)
 
  The interpolation routine works on spectral images, too.

  This routine uses imresize from the Matlab image processing toolbox on
  each plane of the RGB format image, inImg. 

 Example.
   scene = vcGetObject('scene');
   r = sceneGet(scene,'rows');
   c = sceneGet(scene,'cols');
   photons = imageInterpolate(sceneGet(scene,'photons'),r,c);
   imageSPD(photons);

 Copyright ImagEval Consultants, LLC, 2003.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 20-Nov-2008 22:09:04 by m2html © 2003