フィルターのクリア

Inverse of padarray()?

2 ビュー (過去 30 日間)
jupiter
jupiter 2016 年 12 月 2 日
コメント済み: Adam 2016 年 12 月 3 日
I am working on MRI image processing, wherein I work with 3D arrays. To increase the resolution while taking the FFT of the array, I use padarray() and double the size of the image. After the FFT is done, I want to make the size of the resultant array, the same as that of the original array. Is there a way to do it other than looping over and deleting the extra voxels?
For example, if I have 64*64*64 matrix and I increase its size to 128*128*128, and even the resultant will have the same size. I want to change the resultant to a size 64*64*64. To keep it short, is there some kind of inverse padarray?
  4 件のコメント
jupiter
jupiter 2016 年 12 月 3 日
@Image Analyst, Thanks for the answer. Ok, I am doing * ifftn(fft(x).*fft(y))* . So if I do the zero padding to x and y before taking fft it does not change anything is what you are saying?
Adam
Adam 2016 年 12 月 3 日

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by