Image analysis for Signal processing help

1 回表示 (過去 30 日間)
Gucci
Gucci 2022 年 5 月 1 日
回答済み: Sulaymon Eshkabilov 2022 年 5 月 1 日
Hello,
I have an image
How can I select a region of this image to crop out a 10x10 region of pixels and then display this on a figure window?
After this how can I perform a Discrete Cosine Transform (2D DCT) on it
and obtain the DCT coefficient values?
Thank you

採用された回答

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2022 年 5 月 1 日
Use imcrop()
How to use this function: >> doc imcrop

その他の回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2022 年 5 月 1 日
Using the Discrete Cosine Transform is quite straightforward. You'd need to employ dctmtx() fcn.
Help documentation:
doc dctmtx
Also, you can view this online documentation:
mathworks.com/help/images/discrete-cosine-transform.html

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by