Hi List,
I want to generate slices at uniform vertical intervals of my elevation
data. I have a number of utilities which will generate a 3D tiff from an
image list, I cannot find one which will take a single luminance image
and do this by its values.
Im wondering if there any pointers on how to write a batch script in ER
Mapper for this, (newby) eg..
>>>>>>
foreach $elevation_slice (between $slicecount limits)
if i1 < $slicecount then i1 = 0 else i1
copy to dataset ($elevation_slice.$slicecount)
$slicecount++
end
>>>>>
To complicate this I dont really want the resulting elevation datasets,
but the 'masks' they could create to generate slices from the rgb image
of the same site. I want the elevation values to set the voxel array
addresses, I want the voxel values (well, some of them) to assume the
rgb pixel values at those addresses. (I know that the internal values
are not those of the surface condition) e.g.
>>>>>
foreach $rgb_image (between $slicecount limits)
foreach $band (r,g,b)
if inregion(from $elevation_slice) then i1 else 0
$band++
end
copy to dataset ($rgb_image.$slicecount)
$slicecount++
end
>>>>>
Any ideas? is the way it might be done? Is there a general approach to
this sort of thing?.
Cheers
Garry
--
Garry Keltie
[EMAIL PROTECTED]
InteractiveInformationInstitute &
School of Architecture and Design
RMIT
... .... .. _ .... ._ ||:.__.:|| . ||:_.:|| ...
-----------------------------------------------------------
To make changes to your subscription, please visit our website,
http://www.ermapper.com/technicl/ermapperl/index.htm