Ask Your Question
0

DCT Coeficient Removing In OpenCV

asked 2014-01-13 08:21:57 -0500

sameera_ut gravatar image

Hi All,

I am developing an AOI system using OpenCV and thought of using DCT for the illumination normalization of the input images.

Can anyone please tell me what is the strategy that should be used when removing DCT coeficients or downscaling DCT coeficients? Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-01-13 21:54:50 -0500

kaushal gravatar image

i hope initially coefficients are in 8 bit,

first multiply each coefficients with 2048, before any processing and convert them to an integer, then do your processing after that divide each process data by 2048.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-01-13 08:21:57 -0500

Seen: 149 times

Last updated: Jan 13 '14