From: Josep i T. <jm...@pu...> - 2004-08-08 18:44:36
|
Hi, More functions... uintlut only works with Octave CVS because of tests, but it won't be of any use without uint8 and uint16 anyway... -- Function File: BW = roicolor (A,LOW,HIGH) -- Function File: BW = roicolor (A,V) Select a Region Of Interest of an image based on color. BW = roicolor(A,low,high) selects a region of interest (ROI) of an image A returning a black and white image in a logical array (1 for pixels inside ROI and 0 outside ROI), which is formed by all pixels whose values lie within the colormap range specified by [LOW HIGH]. BW = roicolor(A,v) selects a region of interest (ROI) formed by all pixels that match values in V. -- Function File: B = uintlut (A,LUT) Computes matrix B by using A as an index to lookup table LUT. B = uintlut(A, LUT) calculates a matrix B by using LUT as a lookup table indexed by values in A. B class is the same as LUT. -- Josep Monés i Teixidor Clau GnuPG: gpg --recv-keys 80E85CC4 |