LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Image to Image 2 Function

Hi all, I have a use case. I need help in getting the logic. I have a place many small images (which comes in array) in a larger image whose to be dynamically set. I am using SetImageSize function to set the size of the larger image. My known inputs are -

1. Number of Images in the array 

2. X and Y resolution(pixel values of length and breadth) of each image coming in array.

With above two values, I have to set the size of larger image. Can someone help me find the logic to find the X and Y values that should be given to SetImageSize to get the larger image.

0 Kudos
Message 1 of 2
(744 Views)

Hi mahalakshmi,

 


@mahalakshmi05 wrote:

I have a place many small images (which comes in array) in a larger image whose to be dynamically set.

My known inputs are -

1. Number of Images in the array 

2. X and Y resolution(pixel values of length and breadth) of each image coming in array.

Can someone help me find the logic to find the X and Y values that should be given to SetImageSize to get the larger image.


Looks pretty easy (based on your description)

 

SetImageSize_X = NumberOfImages × X
SetImageSize_Y = Y

 

Best regards,
GerdW


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