Discrete Cosine Transform help
Ältere Kommentare anzeigen
- Break an image-pixel array down into smaller blocks, e.g. 8 × 8 (or 16 × 16) pixels,
- perform a discrete cosine transform (dct) on these smaller blocks,
- apply a mask, consisting of an 8 × 8 array of zeros and ones, using array multiplication on the above dct block in order to eliminate certain high-frequency components,
- use the inverse discrete cosine transform (idct) to reconstruct 8 × 8 image blocks, and
- reassemble the blocks into a new image.Create your own function based on this script that will use 8×8 blocks, and will acceptthe name and type of an image together with a matrix representing the mask as input arguments2. I have looked at the ex from mathworks but it hasn't helped much. Any help would be greatly appreciated
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image Transforms finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!