Home > Objects > @iData > image.m

iFit/image

PURPOSE ^

h = image(r,g,b, option) : Plot up to 3 images overlayed on the RGB channels

SYNOPSIS ^

function h = image(r, g, b, option)

DESCRIPTION ^

 h = image(r,g,b, option) : Plot up to 3 images overlayed on the RGB channels

   @iData/image function to plot up to 3 data sets on the RBG channels of an image
     the 3 objects should be 2D objects. Each object is re-scaled within 0 and 1
     interval, so that each color channel is fully used. However, the 'norm'
     keyword in options will scale the color channels within the global min and 
     max Signal values, allowing to compare the relative intensity of the objects.

 input:  r: 2D object on the Red channel (iData or empty)
         g: 2D object on the Green channel (iData or empty)
         b: 2D object on the Blue channel (iData or empty)
         option: global option for 2D and 3D plots: 
                 flat, interp, faceted (for shading)
                 transparent, light, clabel
                 axis tight, axis auto, view2, view3, hide_axes
                 painters (bitmap drawing), zbuffer (vectorial drawing)
                 norm (will use the same color-scale)
 output: h: graphics object handle
 ex:     image(iData(peaks),[],[], 'hide axes');

 Version: Aug. 22, 2017
 See also iData, iData/plot

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1