I'm trying to band the pixels in a volume using Band. But I'm not sure why
I get this error:
------------------------------------------------------------------------------
image = Construct( [0,0], {[0,1],[1,0]}, [3,3], {0,1,2,3,4,5,6,7,8} );
incl = Include( image, min=1, max=7, cull=0 );
band = Band( incl );
0: Band: 'value' defaults to mean: 4 .
0: ERROR: 39::/Band:0: Invalid data: dependent invalid data
component must be scalar bytes
------------------------------------------------------------------------------
Any ideas?
Also, how can this best be done without converting everything to explicit
positions and connections? Is Compute the fastest way?
Thanks,
There were so few points to exclude that Include snaps over to "ref"
positions mode so the invalid positions type is integer.
Compute(byte(invalid(a))) fixes this if I remember right.
Chris Pelkie
Vice President/Scientific Visualization Producer
Conceptual Reality Presentations, Inc.
30 West Meadow Drive
Ithaca, NY 14850
[EMAIL PROTECTED]