Make a loop on Optical flow to change regularization parameter automatically

25 views
Skip to first unread message

MLB

unread,
Feb 6, 2015, 11:08:02 AM2/6/15
to icy-so...@googlegroups.com
Hi,
I would like to make a loop from : 50 000 to 100 000 (step 50 000) on regularization parameter of "Optical Flow".
But I don't manage to change this parameter with an range loop or an array loop.

Thank you for your help,

Marie Laure

Boucle Optical Flow - Display.protocol

Alexandre Dufour

unread,
Feb 6, 2015, 11:23:54 AM2/6/15
to icy-so...@googlegroups.com
Hi Marie-Laure,

In a range loop, iterations are executed from the “start” value (inclusive) to the “end” value (exclusive), this is why the 100’000 value is not run. You just need to put 100’001 instead, and you will have an iteration with value 100’000.

Can you double check this?
Alexandre


--
You received this message because you are subscribed to the Google Groups "Icy imaging" group.
To unsubscribe from this group and stop receiving emails from it, send an email to icy-software...@googlegroups.com.
To post to this group, send email to icy-so...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/icy-software/be2af235-18e8-4480-8cec-efa9ca0a2486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Boucle Optical Flow - Display.protocol>

MLB

unread,
Feb 6, 2015, 11:36:59 AM2/6/15
to icy-so...@googlegroups.com
Hi Alexandre,
It's good to know it.
But, It seems to be associated to the format of regularization parameter : double/integer.
Marie Laure

Alexandre Dufour

unread,
Feb 6, 2015, 3:06:18 PM2/6/15
to icy-so...@googlegroups.com
Ok. I’ve just fixed that. Can you double check?
Thanks for the report, that was a tricky one!

Cheers
Alexandre


MLB

unread,
Feb 9, 2015, 5:47:13 AM2/9/15
to icy-so...@googlegroups.com
Hi Alexandre,
It doesn't work more ...
Without the loop, it runs, with ... I have the error class cast exeption
Cheers,

Marie Laure

MLB

unread,
Feb 9, 2015, 9:16:53 AM2/9/15
to icy-so...@googlegroups.com
Shame on me, I didn't use the last version of ICY.
With the last one, 1.6.0.1, it's ok. 

Happy !


Thank you for your help,
Marie Laure

Reply all
Reply to author
Forward
0 new messages