Home > ISET > vcamera > scene > imgtargets > imgRamp.m

imgRamp

PURPOSE ^

Create a set of intensity ramps as test spatial pattern.

SYNOPSIS ^

function img = imgSweep(imSize)

DESCRIPTION ^

 Create a set of intensity ramps as test spatial pattern.  

   img  = imgRamp(imSize)

 Ramp patterns are useful test patterns (sceneWindow) for evaluating
 contouring caused by poor analog to digital conversion, and sometimes
 for evaluating problems with demosaic'ing routines.  This routine creates
 a steep intensity ramp at the top row of the image, and a decreasing
 intensity ramp as we measure down the rows.

 Examples:
   figure; 
   img  = imgRamp(128); imagesc(img); colormap(gray); axis image
   mesh(img)
   img =  imgRamp; imagesc(img); colormap(gray); axis image
   imagesc(img); colormap(gray(256)); truesize;

 Copyright ImagEval Consultants, LLC, 2005.

CROSS-REFERENCE INFORMATION ^

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