Discrete Cosine Transform help
古いコメントを表示
- 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
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Image Transforms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!