資源簡介
matlab中的 tofloat函數,庫函數中沒有,自己定義才有
代碼片段和文件信息
function?[out?revertclass]?=?tofloat(in)
%TOFLOAT?Convert?image?to?floating?point
%???[OUT?REVERTCLASS]?=?TOFLOAT(IN)?converts?the?input?image?IN?to
%???floating-point.?If?IN?is?a?double?or?single?image?then?OUT
%???equals?IN.??Otherwise?OUT?equals?IM2SINGLE(IN).??REVERTCLASS?is
%???a?function?handle?that?can?be?used?to?convert?back?to?the?class
%???of?IN.
%???Copyright?2002-2009?R.?C.?Gonzalez?R.?E.?Woods?and?S.?L.?Eddins
%???From?the?book?Digital?Image?Processing?Using?MATLAB?2nd?ed.
%???Gatesmark?Publishing?2009.
%
%???Book?web?site:?h
- 上一篇:經典HH神經元模型的matlab程序
- 下一篇:遺傳模擬退火算法MATLAB
評論
共有 條評論