Your example is perfect, as always

Yes, i noticed. It is often useful, the transformation is more prominent.NB*: Not sure if anyone noticed, but I added a toggle PIP window option to all relevant examples.
Good luck!
Yes, i noticed. It is often useful, the transformation is more prominent.NB*: Not sure if anyone noticed, but I added a toggle PIP window option to all relevant examples.
Code: Select all
*resize = cvCloneImage(*reset)
Code: Select all
cvReleaseImage(@*resize)
*resize = cvCloneImage(*reset)
--------------------------------------------The DCT is frequently used in lossy data compression applications, such as the JPEG image format. The property of the DCT that makes it quite suitable for compression is its high degree of “spectral compaction;” at a qualitative level, a signal's DCT representation tends to have more of its energy concentrated in a small number of coefficients when compared to other transforms like the DFT. This is desirable for a compression algorithm; if you can approximately represent the original (time- or spatial-domain) signal using a relatively small set of DCT coefficients, then you can reduce your data storage requirement by only storing the DCT outputs that contain significant amounts of energy.