Home > ISET > vcamera > scene > sceneFromFile.m

sceneFromFile

PURPOSE ^

Create a scene structure by reading in data from a file

SYNOPSIS ^

function scene = sceneFromFile(filename,imageType)

DESCRIPTION ^

 Create a scene structure by reading in data from a file

     scene = sceneFromFile(filename)

   The data in the file are converted into spectral format and placed in
   an ISET scene data structure.

 Example
   scene = sceneFromFile; 
   
   fullFileName = vcSelectImage;
   imgType = ieImageType(fullFileName);
   scene = sceneFromFile(fullFileName,imgType);

   imgType = 'multispectral';
   scene = sceneFromFile(fullFileName,imgType);

 Copyright ImagEval Consultants, LLC, 2003.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 14-Jan-2007 10:24:23 by m2html © 2003