LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stitch 2D Pictures in a Real Time Target

Hi everyone,

 

I'm trying to horizontally stictch two 2D pictures in a real-time target. There are several examples online, but they all rely on getting the image data from the 2D picture using the Picture to Pixmap.vi, which is not supported in real time targets. What is the alternative?

 

Thanks,

 

Soheyl

0 Kudos
Message 1 of 3
(2,774 Views)

Hi Soheyl,

 

where do you get your image data from? What image format do you receive?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,740 Views)

Ahh yes, this comes up everyonce in a while.  Norm posted on LAVA some time ago a fantastic video and demo code combination that can translate a 2D picture.  What you can do is use the string concatenate, combining the first 2D picture, with the second one after it has been translated.  This is all just string manipulation so it should work fine on RT.

 

https://lavag.org/topic/17138-2d-picture-translation-movement/#entry105597

Message 3 of 3
(2,724 Views)