10-01-2007 09:36 AM
10-01-2007 10:48 AM
Are you casting a U16 to U8, this truncates the data and you will only see the noise that is the least 8 significant bits. You should devide by 256 then cast to ux or just split the 16 bit to 2 8bit numbers and use onle the upper 8 bits. You will loose dynamic range either way.
Paul