
沒什麼人下載,從下載量跟分數看來,有七分之六的人下載後連第一關都沒過,可能是介面太難操作,也可能是二位數加減法太難了。寫到這裡忽然想起小學老師總說:「米國人買東西結帳一定要用計算機才算得清楚。」難道……這就是這個App 最致命的缺點嗎? XD
function Main()
local img0 = Urd.CImage32F();
local img1 = Urd.CImage32F();
img0:Load("D:/img/NTU/106009.JPG", Urd.ChannelL);
CImageProcessor.GaussianSmooth(img1, img0, 7, 7, 2.0, 2.0);
CImageProcessor.OperateImgNImg(img1, img0, img1, Urd.OperatorSub);
CImageProcessor.OperateImgNScalar(img1, img1, 10.0, Urd.OperatorMul);
img1:Save("D:/img/ttt.jpg", Urd.ChannelL);
end
//--------------------------------------------------------------------------
class CWxDnDSink
{
public:
CWxDnDSink();
virtual ~CWxDnDSink() = 0;
virtual Result OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& rFile);
};
//--------------------------------------------------------------------------
class CWxFileDropTarget : public wxFileDropTarget
{
CWxDnDSink* pDnDSink;
public:
CWxFileDropTarget(CWxDnDSink* pSink);
virtual ~CWxFileDropTarget();
virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& rFile);
};