From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

pattern matching using myrio

i am working on digital image processing using myrio . i have done pattern matching technique in laptop successfully . now i want to do this on myrio . for this i sucessfully acquire image from myrio

but problem is how i can store template image in myrio for matching purpose? ,

(matching acquired image with template image)

0 Kudos
Message 1 of 6
(2,916 Views)
I always use this method for escaping from storing some data that make problem
use flatten to string for convert this data to string and then convert it to constant string value in this case i could use in any time i want by unflatten
0 Kudos
Message 2 of 6
(2,873 Views)

but i want to save image file in secondary memory of myrio so that when ever i power up myrio , that image should be in memory .

 i don't want to save it every time . just want to save one time  

0 Kudos
Message 3 of 6
(2,868 Views)
why you do not make it constant value in your vi ? in this case you do not need to save it
0 Kudos
Message 4 of 6
(2,854 Views)

okay if i make an image a constant in a vi ,, then how can i access this constant in other program or other vi ?

0 Kudos
Message 5 of 6
(2,846 Views)
you can use local variable to get access this image any way that you want and
also you can use global variable
also there several method to read some data from on vi inside other vis or programs
0 Kudos
Message 6 of 6
(2,831 Views)