Microscopy Image Browser  1.233
All Classes Files Functions Variables Pages
getRGBvolume.m File Reference

Generate RGB volume rendering image of the stack. More...

Functions

function imgRGB = getRGBvolume (img, options, handles)
 Generate RGB volume rendering image of the stack. More...
 

Detailed Description

Generate RGB volume rendering image of the stack.

Function Documentation

function imgRGB = getRGBvolume (   img,
  options,
  handles 
)

Generate RGB volume rendering image of the stack.

Parameters
img3D/4D stack [y,x,c,z]
optionsa structure with extra parameters:
  • .RenderType -> maximum intensitity projections (default) mip, greyscale volume rendering bw, color volume rendering color and volume rendering with shading shaded
  • .Mview -> this 4x4 matrix is the viewing matrix defaults to [1 0 0 0;0 1 0 0;0 0 1 0;0 0 0 1]
  • .ImageSize -> size of the rendered image, defaults to [400 400]
  • .ShearInterp -> interpolation method used in the Shear steps of the shearwarp algoritm, nearest or (default) bilinear
  • .WarpInterp -> interpolation method used in the warp step of the shearwarp algoritm, nearest or (default) bilinear
  • .AlphaTable -> This Nx1 table is linear interpolated such that every voxel intensity gets a specific alpha (transparency) [0 0.01 0.05 0.1 0.2 1 1 1 1 1]
  • .ColorTable -> this Nx3 table is linear interpolated such that every voxel intensity gets a specific color. defaults to [1 0 0;1 0 0;1 0 0;1 0 0;1 0 0;1 0 0;1 0 0]
  • .LightVector -> Light Direction defaults to [0.67 0.33 -0.67]
  • .ViewerVector -> View vector X,Y,Z defaults to [0 0 1]
  • .ShadingMaterial -> The type of material shading : dull, shiny(default) or metal.
handleshandles structure of MIV
Return values
imgRGB- RGB image with combined layers, [1:height, 1:width, 1:3]
Required fields of handles:
Required fields of options:

References render().

Referenced by ibsnapshotGui>snapshotBtn_Callback(), and imageData.plotImage().

Here is the call graph for this function:

Here is the caller graph for this function: