基于分裂与合并方法的图像分割源码

时间:2014-07-11 17:10:37
【文件属性】:
文件名称:基于分裂与合并方法的图像分割源码
文件大小:475KB
文件格式:RAR
更新时间:2014-07-11 17:10:37
图像分割 分裂合并 源码 c++ 基于分裂与合并方法的图像分割源码。 #include "stdafx.h" #include struct SplitArea //分列区域 { unsigned int w; // 这一块图像的宽度 unsigned int h; // 这一块图像的高度 unsigned int left; // 相对源图像数据的偏移宽度 unsigned int top; // 相对源图像数据的偏移高度 }; void areaSplitCombine(unsigned char *srcImage, int w, int h, int* resultArray); void setAreaType( const SplitArea& splitArea,int w, int h, int* resultArray,int type ); unsigned char getMeanValue(const SplitArea& splitArea,unsigned char* srcImage, int w, int h); int getAreaType( const SplitArea& splitArea,unsigned char* srcImage, int w, int h, int* resultArray,int& type ); bool checkConformity(const SplitArea& splitArea,unsigned char* srcImage,int w,int h ); //一致性栓检查 。。。
【文件预览】:
Split2
----Split2.sln(883B)
----Split2()
--------stdafx.h(376B)
--------Split2.cpp(6KB)
--------Split2.vcproj(4KB)
--------Split2.vcproj.20091022-0928.Administrator.user(1KB)
--------Debug()
--------stdafx.cpp(293B)
--------ReadMe.txt(1KB)
----Split2.suo(10KB)
----Split2.ncb(827KB)

网友评论

  • 努力学习中...
  • 不错学习例子
  • 学习了,感觉还不错,最好是加上 opencv的库然后就可以
  • 可以学习一下思想
  • 方法是不错,可惜和我想象的资料不是一样的。郁闷
  • 方法还可以 但是通用性一般
  • 很好的演示了分裂合并算法,但分割条件得再设计。
  • 有一点用处,但是分裂后的图片怎么显示合并???
  • 方法还行,但通用性不好,对我没什么用
  • 程序可以运行,但是效果不好!
  • 还算可以,有点作用,谢谢了
  • 方法不错,但不适合我的系统
  • 方法是不错,不过对我用不上。而且该方法结果有严重的方块效应
  • 该方法不错,正好适用于本人所做的系统,谢谢分享。。。