07-27-2005 03:45 AM
07-27-2005 04:10 AM - edited 07-27-2005 04:10 AM
Attached is a VI which resizes a 2D array (7.0) . It was designed to resize pictures and for pictures of your size it should be fast enough. I don't think webcams use 24 bit color, so you may have to make some modifications. Also, it doesn't do any "clever" stuff like averaging color values. It just takes some of the elements from the original, which seems to be good enough.
From what I saw, this VI gets slow when handling large arrays (I saw about a second for a 2800x1500). Does anyone have any optimizations ideas? I know that when windows creates thumbnails it also takes time, so I'm not too optimistic.
Message Edited by tst on 07-27-2005 12:14 PM
07-27-2005 06:13 AM
Try this link for the quicktime library. It has an imagetransformation vi in it. You can scale the X and Y independent of each other. You need quicktime installed.
07-27-2005 07:07 AM
05-24-2008 04:28 AM
VERY nice vi. 10 stars ..at least
Thanks tst...
06-02-2008 06:25 AM