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

Home » Public Forums » archive » Re: An algorithm puzzle
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: An algorithm puzzle [message #60785 is a reply to message #60784] Sat, 14 June 2008 03:48 Go to previous messageGo to previous message
Jelle is currently offline  Jelle
Messages: 19
Registered: May 2008
Junior Member
David: That is not really fair: I am in the wrong timezone for a 10
sec reply. Anyway.. Size would be european XL, probably a US L?

I think this should do it:
d = MORPH_DISTANCE(P)

(Or, if I have my foreground / background wrong)
d = MORPH_DISTANCE(P, /background)

You will have to decide how distance is calculated using the
NEIGHBOR_SAMPLING keyword, I think you are after 3, which is
approximate euclidian distance.
d = MORPH_DISTANCE(P, neighbor_sampling=3)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: JBIU utilities - release 1.0
Next Topic: AVI file with RLE compression

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

Current Time: Wed Oct 08 17:50:49 PDT 2025

Total time taken to generate the page: 0.00368 seconds