Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you group the components with same frequency into one channel? #44

Open
TongNing-Albert opened this issue Jul 18, 2021 · 1 comment

Comments

@TongNing-Albert
Copy link

Exactly the detail process of DCT reshape process.

Thank you

@huangchaoxing
Copy link

huangchaoxing commented Aug 26, 2021

Here is my interpretation with an example.
If you get an image of 224224, and you would like to to divide them into 28 patches of a size of 88. For every patches, you apply the DCT and get an output of 8*8 (let's call it F matrix). Note that different element in the F matrix stands for different frequency. You may want to put the first element in the F1, F2... F28 into the first channel, and you may also want to put the Nth element in the F1, F2... F28 into the Nth channel. Thus you will get 28 by 28 by N by 3 tensor. The three here is for the three channels in the image domain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants