91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

2D 相位解卷繞的代碼。用matlab及c++編寫。適用于三維重建領域研究人員使用。

資源截圖

代碼片段和文件信息

clear;?clc;?close?all
%This?Matlab?program?calls?a?2D?Phase?unwrapper?written?in?C?language
%The?wrapped?phase?image?is?floating?point?data?type.?
%Also?the?unwrapped?phase?image?is?floating?data?type.

%read?the?wrapped?phase?image?from?a?file.?
image_width?=?512;
image_height?=?512;
fid?=?fopen(‘wrapped?phase?map?float?512X512.dat‘);
WrappedPhase?=?fread(fid?image_width?*?image_height?‘float‘);
fclose(fid);
WrappedPhase?=?reshape(WrappedPhase?image_width?image_height);
figure(1)
colormap(gray(256))
imagesc(WrappedPhase);

%call?the?2D?phase?unwrapper?from?C?language
%To?compile?the?C?code:?in?Matlab?Command?Window?type
?????????mex?Miguel_2D_unwrapper.cpp
%The?wrapped?phase?should?have?the?single?(float?in?C)?data?type
WrappedPhase?=?single(WrappedPhase);
UnwrappedPhase?=?Miguel_2D_unwrapper(WrappedPhase);
figure(2)
colormap(gray(256))
imagesc(UnwrappedPhase);

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????1048576??1998-04-06?12:49??wrapped?phase?map?float?512X512.dat
?????文件?????????905??2011-07-26?10:08??Example1_2D_Phase_Unwrapper.m
?????文件???????17396??2011-07-26?10:07??Miguel_2D_unwrapper.cpp
?????文件???????10240??2011-07-26?10:08??Miguel_2D_unwrapper.mexw32

評論

共有 條評論