Need for treatment of the base image, but only have Linux

Hello, I am pretty inexperienced and working on a project in which a device is attached to a moving stage of XY. The goal is for the camera to track toward moving below real-time, then follow them. To do this, I need a very basic image processing. However, I don't know how to order the engines for the X - Y stage without a tool only Linux, so I use Linux LabVIEW, which apparently does not support the NI Vision or MATLAB script nodes. I need to make a basic image processing (described below) very quickly, using the images I capture in LabVIEW. I know that Python, Java, MATLAB and c a little. Now all I can think is to make a C library that makes the treatment (despite my relative inexperience), then calling it a LabVIEW. That would be good because LabVIEW can pass the image of C by reference, while I do not know how to interface with MATLAB or Python without, say, a TCP connection, which would not be able to use pass by reference (I think?) Are there other ways to achieve this? Perhaps a clever way to interface with MATLAB, or is there a way to get the Vision in LabVIEW for Linux? Most importantly, it's just to find the center of mass of the very black worm, so it should be easy: simply restrict the image of a region of interest, threshold, choose the largest connected blob and calculate the center of mass. However, I might later want also to seek points of calibration on the image; I think it would be easier to just pull long, straight lines, under the camera, then detect those somehow. Thank you!


Tags: NI Software

Similar Questions

Maybe you are looking for