实例介绍
VS2013,mfc,将大的bmp或者jpg用opencv读取、缩小后保存为bmp,再将bmp转jpg。jpg数据是在内存中的
【实例截图】
【核心代码】
IplimageToBmp
└── IplimageToBmp
├── Debug
│ ├── IplimageToBmp.exe
│ ├── msvcp100d.dll
│ ├── msvcr100d.dll
│ ├── opencv_core2410.dll
│ ├── opencv_core2410d.dll
│ ├── opencv_highgui2410.dll
│ ├── opencv_highgui2410d.dll
│ ├── opencv_imgproc2410.dll
│ └── opencv_imgproc2410d.dll
├── IplimageToBmp
│ ├── IplimageToBmp.aps
│ ├── IplimageToBmp.cpp
│ ├── IplimageToBmp.h
│ ├── IplimageToBmp.rc
│ ├── IplimageToBmp.vcxproj
│ ├── IplimageToBmp.vcxproj.filters
│ ├── IplimageToBmpDlg.cpp
│ ├── IplimageToBmpDlg.h
│ ├── OpenCv
│ │ ├── core.hpp
│ │ ├── core_c.h
│ │ ├── cv.h
│ │ ├── highgui.hpp
│ │ ├── highgui_c.h
│ │ ├── imgproc_c.h
│ │ ├── imgproc_types_c.h
│ │ ├── mat.hpp
│ │ ├── msvcp100d.dll
│ │ ├── msvcr100d.dll
│ │ ├── opencv2
│ │ │ ├── calib3d
│ │ │ │ └── calib3d.hpp
│ │ │ ├── contrib
│ │ │ │ ├── contrib.hpp
│ │ │ │ ├── detection_based_tracker.hpp
│ │ │ │ ├── hybridtracker.hpp
│ │ │ │ └── retina.hpp
│ │ │ ├── core
│ │ │ │ ├── core.hpp
│ │ │ │ ├── core_c.h
│ │ │ │ ├── devmem2d.hpp
│ │ │ │ ├── eigen.hpp
│ │ │ │ ├── gpumat.hpp
│ │ │ │ ├── internal.hpp
│ │ │ │ ├── mat.hpp
│ │ │ │ ├── opengl_interop.hpp
│ │ │ │ ├── operations.hpp
│ │ │ │ ├── types_c.h
│ │ │ │ ├── version.hpp
│ │ │ │ └── wimage.hpp
│ │ │ ├── features2d
│ │ │ │ └── features2d.hpp
│ │ │ ├── flann
│ │ │ │ ├── all_indices.h
│ │ │ │ ├── allocator.h
│ │ │ │ ├── any.h
│ │ │ │ ├── autotuned_index.h
│ │ │ │ ├── composite_index.h
│ │ │ │ ├── config.h
│ │ │ │ ├── defines.h
│ │ │ │ ├── dist.h
│ │ │ │ ├── dummy.h
│ │ │ │ ├── dynamic_bitset.h
│ │ │ │ ├── flann.hpp
│ │ │ │ ├── flann_base.hpp
│ │ │ │ ├── general.h
│ │ │ │ ├── ground_truth.h
│ │ │ │ ├── hdf5.h
│ │ │ │ ├── heap.h
│ │ │ │ ├── hierarchical_clustering_index.h
│ │ │ │ ├── index_testing.h
│ │ │ │ ├── kdtree_index.h
│ │ │ │ ├── kdtree_single_index.h
│ │ │ │ ├── kmeans_index.h
│ │ │ │ ├── linear_index.h
│ │ │ │ ├── logger.h
│ │ │ │ ├── lsh_index.h
│ │ │ │ ├── lsh_table.h
│ │ │ │ ├── matrix.h
│ │ │ │ ├── miniflann.hpp
│ │ │ │ ├── nn_index.h
│ │ │ │ ├── object_factory.h
│ │ │ │ ├── params.h
│ │ │ │ ├── random.h
│ │ │ │ ├── result_set.h
│ │ │ │ ├── sampling.h
│ │ │ │ ├── saving.h
│ │ │ │ ├── simplex_downhill.h
│ │ │ │ └── timer.h
│ │ │ ├── gpu
│ │ │ │ ├── NCV.hpp
│ │ │ │ ├── NPP_staging.hpp
│ │ │ │ ├── devmem2d.hpp
│ │ │ │ ├── gpu.hpp
│ │ │ │ ├── gpumat.hpp
│ │ │ │ └── stream_accessor.hpp
│ │ │ ├── highgui
│ │ │ │ ├── highgui.hpp
│ │ │ │ └── highgui_c.h
│ │ │ ├── imgproc
│ │ │ │ ├── imgproc.hpp
│ │ │ │ ├── imgproc_c.h
│ │ │ │ └── types_c.h
│ │ │ ├── legacy
│ │ │ │ ├── blobtrack.hpp
│ │ │ │ ├── compat.hpp
│ │ │ │ ├── legacy.hpp
│ │ │ │ └── streams.hpp
│ │ │ ├── ml
│ │ │ │ └── ml.hpp
│ │ │ ├── nonfree
│ │ │ │ ├── features2d.hpp
│ │ │ │ └── nonfree.hpp
│ │ │ ├── objdetect
│ │ │ │ └── objdetect.hpp
│ │ │ ├── opencv.hpp
│ │ │ ├── opencv_modules.hpp
│ │ │ ├── photo
│ │ │ │ ├── photo.hpp
│ │ │ │ └── photo_c.h
│ │ │ ├── stitching
│ │ │ │ ├── detail
│ │ │ │ │ ├── autocalib.hpp
│ │ │ │ │ ├── blenders.hpp
│ │ │ │ │ ├── camera.hpp
│ │ │ │ │ ├── exposure_compensate.hpp
│ │ │ │ │ ├── matchers.hpp
│ │ │ │ │ ├── motion_estimators.hpp
│ │ │ │ │ ├── seam_finders.hpp
│ │ │ │ │ ├── util.hpp
│ │ │ │ │ ├── util_inl.hpp
│ │ │ │ │ ├── warpers.hpp
│ │ │ │ │ └── warpers_inl.hpp
│ │ │ │ ├── stitcher.hpp
│ │ │ │ └── warpers.hpp
│ │ │ ├── ts
│ │ │ │ ├── ts.hpp
│ │ │ │ ├── ts_gtest.h
│ │ │ │ └── ts_perf.hpp
│ │ │ ├── video
│ │ │ │ ├── background_segm.hpp
│ │ │ │ ├── tracking.hpp
│ │ │ │ └── video.hpp
│ │ │ └── videostab
│ │ │ ├── deblurring.hpp
│ │ │ ├── fast_marching.hpp
│ │ │ ├── fast_marching_inl.hpp
│ │ │ ├── frame_source.hpp
│ │ │ ├── global_motion.hpp
│ │ │ ├── inpainting.hpp
│ │ │ ├── log.hpp
│ │ │ ├── motion_stabilizing.hpp
│ │ │ ├── optical_flow.hpp
│ │ │ ├── stabilizer.hpp
│ │ │ └── videostab.hpp
│ │ ├── opencv_core2410.dll
│ │ ├── opencv_core2410.lib
│ │ ├── opencv_core2410d.dll
│ │ ├── opencv_core2410d.lib
│ │ ├── opencv_highgui2410.dll
│ │ ├── opencv_highgui2410.lib
│ │ ├── opencv_highgui2410d.dll
│ │ ├── opencv_highgui2410d.lib
│ │ ├── opencv_imgproc2410.dll
│ │ ├── opencv_imgproc2410.lib
│ │ ├── opencv_imgproc2410d.dll
│ │ ├── opencv_imgproc2410d.lib
│ │ ├── operations.hpp
│ │ ├── types_c.h
│ │ └── version.hpp
│ ├── ReadMe.txt
│ ├── res
│ │ ├── IplimageToBmp.ico
│ │ └── IplimageToBmp.rc2
│ ├── resource.h
│ ├── stdafx.cpp
│ ├── stdafx.h
│ └── targetver.h
├── IplimageToBmp.sln
└── IplimageToBmp.v12.suo
24 directories, 158 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论