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

Home » Public Forums » archive » Re: Clsuter analysis wiht IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Re: Clsuter analysis wiht IDL [message #24015 is a reply to message #23847] Thu, 01 March 2001 02:57 Go to previous messageGo to previous message
dw is currently offline  dw
Messages: 10
Registered: February 2001
Junior Member
<html>
Benno,<br>
<br>
Thanks for the input.<br>
You suggested:<br>
&nbsp;<br>
use something like<br>
ref_img=REFORM(image,1,658*658)<br>
weights = clust_wts(ref_img, n_clusters=3)<br>
cls=cluster(ref_img,weights,n_cluster=3)<br>
tvscl,reform(cls,658,658)<br>
<br>
but when computing the weights it goes bad <br>
<font face="MS Sans Serif, Geneva" size=1>Program caused arithmetic
error: Floating underflow<br>
</font>and I get an array that is [1,3] and the values are<br>
<font face="MS Sans Serif, Geneva" size=1>5.60519e-045<br>
5.60519e-045<br>
5.60519e-045<br>
<br>
</font>tried converting to float before calculating weights, but same
result. Any suggestions anyone? realize per Craig's post that cluster
analysis isn't what IDL has been used most for...<br>
D<br>
<br>
</html>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: widget_control from call_external
Next Topic: Plotting values in a map.

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

Current Time: Sun Oct 12 01:27:49 PDT 2025

Total time taken to generate the page: 3.28177 seconds