08-30-2006 04:21 AM
08-30-2006 07:55 AM
08-30-2006 11:53 AM
08-30-2006 07:15 PM
08-30-2006 08:15 PM
08-30-2006 08:50 PM
08-31-2006 09:16 AM
08-31-2006 10:41 AM
For example:
the original pixels index
11 12 13 14
21 22 23 24
31 32 33 34
and you want to combine pixel22 and pixel 23,
the new pixel = (2*pixel22 + 2*pixel23 + pixel12 + pixel13 + pixel21 + pixel24 + pixel32 + pixel33) / (2+2+1+1+1+1+1+1)
or even better:
the new pixel = (4*pixel22 + 4*pixel23 +2*pixel12 + 2*pixel13 + 2*pixel21 + 2*pixel24 + 2*pixel32 + 2*pixel33
+ pixel11 + pixel14 + pixel31 + pixel34) / (4+4+2+2+2+2+2+2+1+1+1+1)
......
You might need a dll or cin if the calculation is too slow in LabVIEW.
George Zou