Access USB through Matlab
-
Hi, I need to write a program that controls a camera we use in the lab and get the data. But to do that we need to call some system dll's. (This is because the camera connects to the computer through the USB port and we pretty much have to write the driver). We are actually using Matlab for data processing, but I couldn't call some functions because they need pointers, and Matlab apparently doesn't support pointers. If anyone knows anything about making pointers in Matlab, that would be greatly useful too. thanks A.S.
-
Hi, I need to write a program that controls a camera we use in the lab and get the data. But to do that we need to call some system dll's. (This is because the camera connects to the computer through the USB port and we pretty much have to write the driver). We are actually using Matlab for data processing, but I couldn't call some functions because they need pointers, and Matlab apparently doesn't support pointers. If anyone knows anything about making pointers in Matlab, that would be greatly useful too. thanks A.S.
Try googling for "dual photography" and "SIGGraph" and contact those guys. They use a digital camera for image processing with matlab, and I believe they released the source. If you cannot use the source (if its released) you could at least ask them for a few hints. OT: That dual photography thing was awesome. With one camera and a digital projector they could generate pictures of the photographed images from the projectors point of view. They had the camera pointed at the back of a card (ace of spades I believe) and a projector illuminating the front (both at an angle). By evaluating the pictures of the camera, they could create the image as it would have been if the positions of camera an projector were switched. Cheers, Sebastian -- Contra vim mortem non est medicamen in hortem.
-
Try googling for "dual photography" and "SIGGraph" and contact those guys. They use a digital camera for image processing with matlab, and I believe they released the source. If you cannot use the source (if its released) you could at least ask them for a few hints. OT: That dual photography thing was awesome. With one camera and a digital projector they could generate pictures of the photographed images from the projectors point of view. They had the camera pointed at the back of a card (ace of spades I believe) and a projector illuminating the front (both at an angle). By evaluating the pictures of the camera, they could create the image as it would have been if the positions of camera an projector were switched. Cheers, Sebastian -- Contra vim mortem non est medicamen in hortem.