comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » need help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
need help [message #19292] Fri, 10 March 2000 00:00 Go to previous message
Hamid Kohen is currently offline  Hamid Kohen
Messages: 5
Registered: March 2000
Junior Member
Does any one know how to use lookup command under envi programming?

for an example I have used it like this ...

class_names = ['Unclassified', 'Glass', 'Cell Walls', 'Nuclei',
'Cytoplasm', 'Stroma Blood Vessel']
lookup = [[0,0,0], [255,255,255],
[0,0,255],[255,0,0],[0,255,0],[0,125,125]]

;run the classification
envi_check_save, /classification
class_doit, fid=fid, pos=pos, dims=dims, out_name=kmeans_out_name, $
method=7, r_fid=c_fid, mean=mean, $
out_bname="Kohonen Classifier", iterations=1, change_thresh=0.1, $
num_classes=num_classes, lookup=lookup,stdv=stdv, in_memory=0, $
class_names=class_names, Thresh = ((total(mean)) / nbands) * 1.968



however when I run the program ... classes are colored differently..
Does anyone know how to use lookup properly ..

thank you
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: resampling on irregular grid
Next Topic: Re: how to write to file ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:29:03 PDT 2025

Total time taken to generate the page: 0.00181 seconds