• 大小: 124KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-02
  • 语言: 其他
  • 标签: Image  Warp  MFC  IDW  RBF  

资源简介

运用Inverse distance-weighted interpolation method(IDW)和Radial basis function interpolation method(RBF)实现ImageWarp.

资源截图

代码片段和文件信息

// cdib.cpp
// new version for WIN32
#include “stdafx.h“
#include “cdib.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

IMPLEMENT_SERIAL(CDib Cobject 0);

CDib::CDib()
{
m_hFile = NULL;
m_hBitmap = NULL;
m_hPalette = NULL;
m_nBmihAlloc = m_nImageAlloc = noAlloc;
Empty();
}

CDib::CDib(CSize size int nBitCount)
{
m_hFile = NULL;
m_hBitmap = NULL;
m_hPalette = NULL;
m_nBmihAlloc = m_nImageAlloc = noAlloc;
Empty();
ComputePaletteSize(nBitCount);
m_lpBMIH = (LPBITMAPINFOHEADER) new 
char[sizeof(BITMAPINFOHEADER) + sizeof(RGBQUAD) * m_nColorTableEntries];
m_nBmihAlloc = crtAlloc;
m_lpBMIH->biSize = sizeof(BITMAPINFOHEADER);
m_lpBMIH->biWidth = size.cx;
m_lpBMIH->biHeight = size.cy;
m_l

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      19377  2008-11-17 13:41  ImageWarp\ImgWarp_final\cdib.cpp

     文件       5749  2008-11-17 09:55  ImageWarp\ImgWarp_final\cdib.h

     文件       1425  2008-11-12 20:12  ImageWarp\ImgWarp_final\CGuassE.cpp

     文件        571  2008-11-12 23:25  ImageWarp\ImgWarp_final\CGuassE.h

     文件       2074  2006-09-27 12:36  ImageWarp\ImgWarp_final\console.cpp

     文件       3329  2008-11-17 13:44  ImageWarp\ImgWarp_final\CWarp.cpp

     文件        968  2008-11-17 13:55  ImageWarp\ImgWarp_final\CWarp.h

     文件       1020  2008-11-12 23:37  ImageWarp\ImgWarp_final\Figure.cpp

     文件       1001  2008-11-12 23:37  ImageWarp\ImgWarp_final\Figure.h

     文件      29436  2008-11-17 21:09  ImageWarp\ImgWarp_final\ImgWarp.aps

     文件       2340  2008-11-17 21:13  ImageWarp\ImgWarp_final\ImgWarp.clw

     文件       4377  2008-11-09 15:55  ImageWarp\ImgWarp_final\ImgWarp.cpp

     文件       5129  2008-11-11 20:47  ImageWarp\ImgWarp_final\ImgWarp.dsp

     文件        537  2008-11-07 15:45  ImageWarp\ImgWarp_final\ImgWarp.dsw

     文件       1385  2008-11-09 15:00  ImageWarp\ImgWarp_final\ImgWarp.h

     文件     525312  2008-11-17 21:13  ImageWarp\ImgWarp_final\ImgWarp.ncb

     文件      53760  2008-11-17 21:13  ImageWarp\ImgWarp_final\ImgWarp.opt

     文件       4337  2008-11-17 21:13  ImageWarp\ImgWarp_final\ImgWarp.plg

     文件      12118  2008-11-12 20:20  ImageWarp\ImgWarp_final\ImgWarp.rc

     文件       1762  2008-11-07 15:45  ImageWarp\ImgWarp_final\ImgWarpDoc.cpp

     文件       1486  2008-11-07 15:45  ImageWarp\ImgWarp_final\ImgWarpDoc.h

     文件       7498  2008-11-17 13:19  ImageWarp\ImgWarp_final\ImgWarpView.cpp

     文件       2554  2008-11-17 13:04  ImageWarp\ImgWarp_final\ImgWarpView.h

     文件       2508  2008-11-07 15:45  ImageWarp\ImgWarp_final\MainFrm.cpp

     文件       1581  2008-11-07 15:45  ImageWarp\ImgWarp_final\MainFrm.h

     文件       4335  2008-11-07 15:45  ImageWarp\ImgWarp_final\ReadMe.txt

     文件       1078  2008-11-07 15:45  ImageWarp\ImgWarp_final\res\ImgWarp.ico

     文件        399  2008-11-07 15:45  ImageWarp\ImgWarp_final\res\ImgWarp.rc2

     文件       1078  2008-11-07 15:45  ImageWarp\ImgWarp_final\res\ImgWarpDoc.ico

     文件       1078  2008-11-08 16:29  ImageWarp\ImgWarp_final\res\Toolbar.bmp

............此处省略10个文件信息

评论

共有 条评论