12-23-2021 12:14 AM
Hi
I am new to LabVIEW and here is the scenario.
I have extracted a rectangle from the ORIGINAL image and performed some image processing on the image, and now I would like to replacing the processed portion on the ORIGINAL image. Can anyone give guidance on which block to be used?
Greatly appreciated. File attached is the snippet.
Solved! Go to Solution.
12-23-2021 12:43 AM
Use Imaq image to array to get 2D data of our actual image and the same on your cropped image.
The use array replace subset and feed actual image in input and index the location to replace and feed the cropped image
Then use imaq array to image to get the updated image..
If your image is 32bit (color image) then you have to use IMAQ color image to array and imaq array to color image.
I don't have vision development module so I cannot share snippet or vi....
12-23-2021 02:29 AM
Hi Kartik,
Greatly appreciated for your help and I spent some time on manipulating the 2D arrays 🙂
Here's the snippet just in case any LabVIEW user need this in the future.
PS: The part I highlighted as yellow can be ignored.