دانلود سورس 3D convolution in the FFT domain
3121 بازدید
- ◷ 1393/05/07
- دیدگاهها برای دانلود سورس 3D convolution in the FFT domain بسته هستند
این برنامه جهت رسم پیچش سه بعدی (3D convolution) در دومین سری فوریه (fourrier) نوشته شده است. این سورس به زبان متلب و نسخه MATLAB 7.13 R2011b پیاده سازی شده است. خروجی این برنامه را می توانید را در 6 حالت مختلف و کانتورهای رنگی مشاهده نمایید.
3D convolution in the FFT domain
سورس این برنامه بصورت زیر می باشد:
function [outVol] = convolution3D_FFTdomain(inVol,inKer)
%% convolution3D_FFTdomain - Performs a fast 3D convolution between a volume and a kernel using mutliplication in the Fourrier space.
%
% Syntax: [outVol] = convolutionInFFTdomain(inVol,inKer,inMsg)
% Inputs:
% inVol - input volume (real / complex)
% inKer - input kernel (real / complex)
% Outputs:
% outVol - output convolved volume (real / complex) - precision of the output format is the same as the input
% volume. The output volume is the central part of the convolution with same size as inVol.
% size(outVol)=size(inVol) ('same' option of convn).
%
% Other m-files required: none
% Subfunctions: none
% MAT-files required: none
% Author: Christopher Coello
% Work address: Preclinical PET/CT Unit
% Email address: s.c.coello@medisin.uio.no
% Website: http://www.med.uio.no/imb/english/services/public/pet/
% 2012/03/13; Last revision: 2012/03/16
% Created with Matlab version: 7.13.0.564 (R2011b)
% EngPedia.ior
% Iranian Engineering Encyclopedia
% Check if both inputs are real numbers
realInput = isreal(inVol) && isreal(inKer);
% Check the precision of the input volume
if strcmp(class(inVol),'double'),
indDb=1;
else
indDb=0;
end
% Size of the input volumes
inVolSize=size(inVol);
inVolSide=max(inVolSize);
inKerSize=size(inKer);
inKerSide=max(size(inKer));
% Fourrier tranform of the volume and inKer.
extr(1:3)={};
for iDim=(1:3),
inVol=fft(inVol,inVolSide+inKerSide-1,iDim);
inKer=fft(inKer,inVolSide+inKerSide-1,iDim);
extr{iDim}=ceil((inKerSize(iDim)-1)/2)+(1:inVolSize(iDim));
end
% Multiplication of the Fourrier tranforms
conv_FFT=inVol.*inKer;
% Inverse Fourrier Transform of the convolution
for iDim=(1:3),
conv_FFT=ifft(conv_FFT,[],iDim);
end
% Crop the side of the image in relation to the size of the kernel
convinVol=conv_FFT(extr{:});
% limit the results
if realInput,
convinVol=real(convinVol);
end
% Format the output into single precision if needed
if indDb,
outVol=convinVol;
else
outVol=single(convinVol);
end
مطالب مرتبط
برچسب ها : 3D convolution in the FFT domain, fft convolution, FFT پیچش, دانلود سورس 3D convolution in the FFT domain, سورس FFT, سورس پیچش
دیدگاهتان را بنویسید
بخش های مورد نیاز علامت گذاری شده اند
نشانی ایمیل منتشر نخواهد شد

مطالب جدید
- DeltaV Mimic v6 اعتبارسنجی و شبیهسازی نیروگاههای صنعتی
- SIMULIA IVCAD Suite 2026 شبیهسازی و اندازهگیری سیستمهای RF
- TaniqWind Pro 1.14 تولید مخازن کامپوزیتی به روش فیلامنت وایندینگ
- DukeSim v1.2 شبیهساز پیشرفته تصویربرداری و دوزسنجی CT
- Kinetix Matrix 3.01 طراحی و بهینهسازی اسیدکاری چاه نفت و گاز
- DNV WindFarmer 1.7.1 طراحی و بهینهسازی نیروگاههای بادی
- NetSim Pro 15.1 پلتفرم پیشرفته طراحی و تحلیل شبکههای مخابراتی
- Gamry Echem Analyst 2 تحلیل خوردگی و آزمونهای الکتروشیمیایی
- XGtd 3.1.2 شبیهسازی سامانههای راداری و آنتن
- Simcenter Multimech 2506 تحلیل ریزساختار و رفتار مکانیکی مواد پیشرفته

مطالب پربازدید
- پکیج کامل استانداردهای صنعتی
- دانلود کتاب هیدرولیک و پنوماتیک فستو Festo فارسی
- دانلود فول استاندارد ASTM بصورت رایگان
- کلید فولاد (Key to Steel) پرتابل
- آموزش میکروکنترلر AVR
- دانلود آنتی ویروس شورتکات (Back 2 Normal)
- دانلود جدول استاندارد DIN
- دانلود کتاب آموزش Abaqus (فارسی)
- فول استاندارد ASME (بروز)
- دانلود نرم افزار MATLAB برای آندروید(MATLAB Android)

مطالب تصادفی
- پکیج آموزشی ArcGIS
- دانلود مجموعه پروژه های VHDL
- نرم افزار WinPomp 2 شبیه سازی پمپاژ چاه
- GeoDict 2026.5 تحلیل مواد متخلخل و فیلترها
- نرمافزار Dynaform v7.2 2024 شبیهسازی و تحلیل شکل دهی ورق
- WellFlo 8.3.2 بهینهسازی چاههای نفت و گاز
- VAST Security Station 1.6 مدیریت هوشمند سامانه های تصویری
- نرمافزار PipeData-Pro 14.1 2024 طراحی سیستمهای لولهکشی
- HDSlog v1.23 تفسیر پتروفیزیکی و تحلیل مخازن نفت و گاز
- دانلود پروژه افتادن قطرات آب در OpenGL




