|
Re: How to lower image pixels in straight NIVision code.
You can use imaqScale or imaqResize. imaqScale will change your image width and height to a factor or multiple of the original width and height, while imaqResize will change it to any arbitrary size. I would recommend imaqScale because I'd assume it's faster.
Also, you don't need to keep deleting and recreating Image objects (as in your second code snippet). You can use the same image object multiple times for camera capture with IMAQdx
Last edited by euhlmann : 04-04-2016 at 08:51 AM.
|