实例介绍
实现的一个图像缩放类,使用模板和STL技术,其中内存管理都是自己实现的,有异常处理类,很有参考价值。
【实例截图】
【核心代码】
appliedcpp_12
├── Delegates
│ ├── JPEG
│ │ ├── index.html
│ │ ├── jpegsr6.zip
│ │ └── jpegsrc.v6b.tar.gz
│ └── TIFF
│ ├── index.html
│ ├── libtiff-lzw-compression-kit-1.3.tar.gz
│ ├── TIFF6.pdf
│ └── tiff-v3.5.7.tar.gz
├── framework
│ ├── common
│ │ ├── bstring.cpp
│ │ ├── debugging.cpp
│ │ ├── debugStream.cpp
│ │ ├── geometry.cpp
│ │ ├── heapMgr.cpp
│ │ ├── objectMgr.cpp
│ │ ├── resourceMgr.cpp
│ │ ├── stringTools.cpp
│ │ ├── timing.cpp
│ │ ├── unitTest.cpp
│ │ ├── wideTools.cpp
│ │ └── xmlTools.cpp
│ ├── delegates
│ │ ├── iap.cpp
│ │ ├── io.cpp
│ │ ├── jpeg.cpp
│ │ └── tiff.cpp
│ ├── image
│ │ ├── imageDelegate.cpp
│ │ ├── imageStorage.cpp
│ │ ├── imageTmpl.cpp
│ │ ├── imageTools.cpp
│ │ └── imageTypes.cpp
│ ├── include
│ │ ├── allocTmpl.h
│ │ ├── bstring.h
│ │ ├── debugging.h
│ │ ├── debugStream.h
│ │ ├── delegates
│ │ │ ├── iap.h
│ │ │ ├── io.h
│ │ │ ├── jpeg.h
│ │ │ └── tiff.h
│ │ ├── exception.h
│ │ ├── fastTiming.h
│ │ ├── geometry.h
│ │ ├── heapMgr.h
│ │ ├── image
│ │ │ ├── colorSpace.h
│ │ │ ├── convolve.h
│ │ │ ├── imageDelegate.h
│ │ │ ├── imageFuncs1.h
│ │ │ ├── imageFuncs2.h
│ │ │ ├── imageFuncs.h
│ │ │ ├── image.h
│ │ │ ├── imageStorage.h
│ │ │ ├── imageStorageTmpl.h
│ │ │ ├── imageTmpl.h
│ │ │ ├── imageTools.h
│ │ │ ├── imageTransform.h
│ │ │ ├── imageTypes.h
│ │ │ └── morphology.h
│ │ ├── ipp
│ │ │ └── ippWrapper.h
│ │ ├── lock.h
│ │ ├── object.h
│ │ ├── objectMgr.h
│ │ ├── resourceMgr.h
│ │ ├── stringTools.h
│ │ ├── thread.h
│ │ ├── timing.h
│ │ ├── unitTest.h
│ │ ├── unix
│ │ │ ├── fastTiming.h
│ │ │ ├── lock.h
│ │ │ └── thread.h
│ │ ├── wideTools.h
│ │ ├── win32
│ │ │ ├── fastTiming.h
│ │ │ ├── lock.h
│ │ │ └── thread.h
│ │ └── xmlTools.h
│ ├── thirdparty
│ │ ├── include
│ │ │ ├── freebsd
│ │ │ │ ├── jconfig.h
│ │ │ │ ├── jmorecfg.h
│ │ │ │ ├── jpeglib.h
│ │ │ │ ├── tiff.h
│ │ │ │ ├── tiffio.h
│ │ │ │ └── tiffvers.h
│ │ │ ├── linux
│ │ │ │ ├── jconfig.h
│ │ │ │ ├── jmorecfg.h
│ │ │ │ ├── jpeglib.h
│ │ │ │ ├── tiff.h
│ │ │ │ ├── tiffio.h
│ │ │ │ └── tiffvers.h
│ │ │ └── win32
│ │ │ ├── jconfig.h
│ │ │ ├── jmorecfg.h
│ │ │ ├── jpeglib.h
│ │ │ ├── tiff.h
│ │ │ ├── tiffio.h
│ │ │ └── tiffvers.h
│ │ └── lib
│ │ ├── freebsd
│ │ │ ├── libjpeg.a
│ │ │ └── libtiff.a
│ │ ├── linux
│ │ │ ├── libjpeg.a
│ │ │ └── libtiff.a
│ │ └── win32
│ │ ├── jpeg.lib
│ │ └── libtiff.lib
│ ├── unittests
│ │ ├── allocTmpl
│ │ │ ├── allocTmpl.sln
│ │ │ ├── allocTmpl.suo
│ │ │ ├── allocTmpl.vcproj
│ │ │ ├── main.cpp
│ │ │ ├── Makefile
│ │ │ ├── Makefile.freebsd
│ │ │ └── Makefile.linux
│ │ ├── bstring
│ │ │ ├── bstring.sln
│ │ │ ├── bstring.suo
│ │ │ ├── bstring.vcproj
│ │ │ ├── main.cpp
│ │ │ ├── Makefile
│ │ │ └── Makefile.linux
│ │ ├── common
│ │ │ ├── common.sln
│ │ │ ├── common.suo
│ │ │ ├── common.vcproj
│ │ │ ├── main.cpp
│ │ │ ├── Makefile
│ │ │ └── Makefile.linux
│ │ ├── debugging
│ │ │ ├── debugging.sln
│ │ │ ├── debugging.suo
│ │ │ ├── debugging.vcproj
│ │ │ ├── main.cpp
│ │ │ ├── Makefile
│ │ │ ├── Makefile.linux
│ │ │ ├── redirect.txt
│ │ │ └── test.txt
│ │ ├── filedelegates
│ │ │ ├── filedelegates.sln
│ │ │ ├── filedelegates.suo
│ │ │ ├── filedelegates.vcproj
│ │ │ ├── main.cpp
│ │ │ ├── Makefile
│ │ │ ├── Makefile.freebsd
│ │ │ ├── Makefile.linux
│ │ │ ├── saturn.tif
│ │ │ └── test.jpg
│ │ ├── image
│ │ │ ├── image.sln
│ │ │ ├── image.suo
│ │ │ ├── image.vcproj
│ │ │ ├── main.cpp
│ │ │ ├── Makefile
│ │ │ ├── Makefile.aix
│ │ │ ├── Makefile.freebsd
│ │ │ ├── Makefile.linux
│ │ │ ├── Makefile.sgi
│ │ │ └── Makefile.solaris
│ │ ├── imageStorage
│ │ │ ├── imageStorage.sln
│ │ │ ├── imageStorage.suo
│ │ │ ├── imageStorage.vcproj
│ │ │ ├── main.cpp
│ │ │ ├── Makefile
│ │ │ ├── Makefile.freebsd
│ │ │ └── Makefile.linux
│ │ ├── imageTypes
│ │ │ ├── imageTypes.sln
│ │ │ ├── imageTypes.suo
│ │ │ ├── imageTypes.vcproj
│ │ │ ├── main.cpp
│ │ │ ├── Makefile
│ │ │ ├── Makefile.aix
│ │ │ ├── Makefile.freebsd
│ │ │ ├── Makefile.linux
│ │ │ ├── Makefile.sgi
│ │ │ └── Makefile.solaris
│ │ ├── ipp
│ │ │ ├── ipp.sln
│ │ │ ├── ipp.suo
│ │ │ ├── ipp.vcproj
│ │ │ ├── main.cpp
│ │ │ └── Makefile
│ │ ├── resourceMgr
│ │ │ ├── main.cpp
│ │ │ ├── Makefile
│ │ │ ├── Makefile.linux
│ │ │ ├── resourceMgr.sln
│ │ │ ├── resourceMgr.suo
│ │ │ ├── resourceMgr.vcproj
│ │ │ └── test.xml
│ │ └── synchronization
│ │ ├── main.cpp
│ │ ├── Makefile
│ │ ├── Makefile.linux
│ │ ├── synchronization.sln
│ │ ├── synchronization.suo
│ │ └── synchronization.vcproj
│ ├── unix
│ │ ├── fastTiming.cpp
│ │ └── lock.cpp
│ └── win32
│ └── fastTiming.cpp
├── index.html
├── license.txt
├── Prototypes
│ ├── Prototype1
│ │ ├── image.cpp
│ │ ├── image.h
│ │ ├── main.cpp
│ │ ├── Makefile
│ │ ├── prototype1.sln
│ │ ├── prototype1.suo
│ │ └── prototype1.vcproj
│ ├── Prototype2
│ │ ├── imageTmpl.h
│ │ ├── main.cpp
│ │ ├── Makefile
│ │ ├── prototype2.sln
│ │ ├── prototype2.suo
│ │ └── prototype2.vcproj
│ ├── Prototype3
│ │ ├── imageStorage.cpp
│ │ ├── imageStorage.h
│ │ ├── imageStorageTmpl.h
│ │ ├── imageTmpl.h
│ │ ├── main.cpp
│ │ ├── Makefile
│ │ ├── prototype3.sln
│ │ ├── prototype3.suo
│ │ └── prototype3.vcproj
│ └── TestApplication
│ ├── image.cpp
│ ├── image.h
│ ├── main.cpp
│ ├── Makefile
│ ├── testapplication.sln
│ ├── testapplication.suo
│ ├── testapplication.vcproj
│ ├── thumbnail.cpp
│ └── thumbnail.h
└── readme.txt
41 directories, 213 files
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论