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!