Compute always works on the 'data' component so with your Print("rd"), tell it to only print the 'data' component. This will help limit what you are looking at in the message window. So the order of the modules to use the colors for data is Mark -> Compute -> Print.

David

Hi David,

Ok, but how do I display the output from the Compute module?  I tried
using Display or Print ("rd"), yet I cannot tell where the computations
end up?

Thanks for your help,
Kelly

______________________________________________________________________________
Kelly G. Gallagher
New Mexico State University, Department of Biology, Department 3AF, Box 30001,
Las Cruces, New Mexico 88003, phone: (505) 646-3611 / fax: (505)646-5665
______________________________________________________________________________

On Wed, 13 Sep 2000, David Thompson wrote:

 Images do not necessarily have data. When they are Imported, they
 have colors. If you "Mark" colors, then the colors become the 'data'
 component and you can work on them. You may then want to "Compute"
 with an expression of a.0 to extract only one of the colors from the
 3-vector color component.

 David

 >Hi all,
 >
 >I have been successful in assigning colors to given structures in
 >'.tiff', greyscale images (via the ColorMap, Color, Mark, and Collect
 >modules).  Now, I would like to calculate the percentage (of
 >pixel-values per image) of these newly-colored structures.  Thus far, I
 >have attempted to use the following modules:  Include, Inquire, Compute,
 >and Statistics, yet I seem to receive error messages such as "Invalid
 >data:  missing data component" or "Invalid data:  input must be an array".
 >Somehow, through the flow of the modules, I must've lost the "positions"
 >and/or "data" array (I think this is my problem).  Can someone please tell
 >me how to complete the solution to my problem?
 >
 >Thanks,
 >Kelly
 >______________________________________________________________________________
 >Kelly G. Gallagher
>New Mexico State University, Department of Biology, Department 3AF, Box 30001,
 >Las Cruces, New Mexico 88003, phone: (505) 646-3611 / fax: (505)646-5665
 >______________________________________________________________________________

 --

.............................................................................
 David L. Thompson                          The University of Montana
 mailto:[EMAIL PROTECTED]                 Computer Science Department
 http://www.cs.umt.edu/u/dthompsn           Missoula, MT  59812
                                             Work Phone : (406)257-8530


--
.............................................................................
David L. Thompson                          The University of Montana
mailto:[EMAIL PROTECTED]                 Computer Science Department
http://www.cs.umt.edu/u/dthompsn           Missoula, MT  59812
                                           Work Phone : (406)257-8530

Reply via email to