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 
Switch to threaded view of this topic Create a new topic Submit Reply
need help [message #19292] Fri, 10 March 2000 00:00 Go to next 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
Re: Need HELP [message #80378 is a reply to message #19292] Fri, 08 June 2012 09:49 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Also, if I remember well, the DLL files from Ronn Kling require the C++ library to be installed on your windows. You can download the package from :

http://www.microsoft.com/en-us/download/details.aspx?id=5555

nata
Re: Need HELP [message #80379 is a reply to message #19292] Fri, 08 June 2012 09:44 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Why you don't use the object idlffmjpeg2000 to read the frames of your file ?
nata
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Sun Oct 12 00:01:34 PDT 2025

Total time taken to generate the page: 0.01126 seconds