View unanswered posts | View active topics It is currently 28 Mar 2024, 17:25



Reply to topic  [ 2 posts ] 
Runtime parameters for Picture in Picture 
Author Message

Joined: 22 Mar 2008, 16:09
Posts: 26
Reply with quote
How do I feed the Picture in Picture block with values at runtime?
I thought that it would accept a double matrix generator (2 x 2) but it doesn't.

I see from the description that the datatype it needs is Roi 2D double.
How do I generate this?
How should I go about deducing the answers to problems like this without spamming the forum?

Gavin


25 Apr 2008, 15:51
Profile

Joined: 21 Mar 2008, 22:35
Posts: 131
Reply with quote
gavspav wrote:
How do I feed the Picture in Picture block with values at runtime?
I thought that it would accept a double matrix generator (2 x 2) but it doesn't.

I see from the description that the datatype it needs is Roi 2D double.
How do I generate this?


You can use the Rectangle2D generator. A Rectangle2D is different from a Roi2D, however, a converter from the former to the latter exists; thus, you can link the output of the Rectangle2D generator to the Roi2D parameter pin.
However, remember to use the same domain for both datatype (both integers or both double), otherwise the link is not possible.

Paolo


26 Apr 2008, 00:24
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 44 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.