source: trunk/loci/visbio/vbget.m @ 593

Revision 593, 469 bytes checked in by curtis, 14 years ago (diff)

Switch MATLAB call from loci.visbio.matlab to loci.visbio.ext.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1function [result] = vbget(func, field, params)
2%VisBio calls vbget to evaluate the given field using the specified function.
3%
4%  func   - name of function to execute
5%           (must take 3D array of image pixels as argument)
6%
7%  field  - VisAD FlatField from which to extract pixels for evaluation
8%
9%  params - vector (1D) with any extra parameters to pass to the function
10pix = loci.visbio.ext.MatlabUtil.getImagePixels(field);
11result = feval(func, pix, params);
Note: See TracBrowser for help on using the repository browser.