[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: Clsuter analysis wiht IDL
- Subject: Re: Re: Clsuter analysis wiht IDL
- From: dw(at)isva.dtu.dk (Dorthe Wildenschild)
- Date: 1 Mar 2001 11:57:07 +0100
- Mail-From: dw@isva.dtu.dk from mail.isva.dtu.dk [192.38.88.3]
- Newsgroups: comp.lang.idl-pvwave
- Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23781
Benno,
Thanks for the input.
You suggested:
use something like
ref_img=REFORM(image,1,658*658)
weights = clust_wts(ref_img, n_clusters=3)
cls=cluster(ref_img,weights,n_cluster=3)
tvscl,reform(cls,658,658)
but when computing the weights it goes bad
Program caused arithmetic
error: Floating underflow
and I get an array that is [1,3] and the values are
5.60519e-045
5.60519e-045
5.60519e-045
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...
D