C#实现不规则图形分割成多个矩形组合可视化工具, 核心是一个找最大内切矩形的算法

上传者: zhenmu | 上传时间: 2023-02-22 22:01:25 | 文件大小: 101KB | 文件类型: ZIP
C#代码,不规则图形分割成多个矩形,可视化工具, 核心是一个找最大内切矩形的算法 牵涉到的知识点: 1. 图片的加载和像素解析,绘制到pictureBox上 2.控制pitctureBox缩放(ctrl+滚轮)和移动 3.动态生成bitmap,绘制点和矩形,显示到pictureBox上 4.找出属于不同区域的相连的不规则图形对应的数据块 5.不规则图形数据查找最大内嵌矩形算法 6.拆分剩余上下左右4个区域,递归找到更小的矩形。 关联博文: https://blog.csdn.net/zhenmu/article/details/125852065

文件下载

资源详情

[{"title":"( 33 个子文件 101KB ) C#实现不规则图形分割成多个矩形组合可视化工具, 核心是一个找最大内切矩形的算法","children":[{"title":".vs","children":[{"title":"Split2DRectangles","children":[{"title":"v14","children":[{"title":".suo <span style='color:#111;'> 55.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"v16","children":[{"title":".suo <span style='color:#111;'> 69.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"Split2DRectangles.pdb <span style='color:#111;'> 27.50KB </span>","children":null,"spread":false},{"title":"SplitRect.pdb <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"Split2DRectangles.vshost.exe <span style='color:#111;'> 22.16KB </span>","children":null,"spread":false},{"title":"SplitRect.dll <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"Split2DRectangles.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"Split2DRectangles.vshost.exe.config <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"Split2DRectangles.exe.config <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"Split2DRectangles.exe <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 7.11KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 529B </span>","children":null,"spread":false},{"title":"CmdSplit2DRectangles","children":[{"title":"Program.cs <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"CmdSplit2DRectangles.csproj <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 186B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.cs <span style='color:#111;'> 9.66KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 14.74KB </span>","children":null,"spread":false},{"title":"Split2DRectangles.csproj.user <span style='color:#111;'> 228B </span>","children":null,"spread":false},{"title":"Split2DRectangles.csproj <span style='color:#111;'> 4.12KB </span>","children":null,"spread":false},{"title":"areaImg.png <span style='color:#111;'> 4.49KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"Split2DRectangles.sln <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"SplitRect","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"SplitRect.pdb <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"SplitRect.dll <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"SplitRect.cs <span style='color:#111;'> 17.75KB </span>","children":null,"spread":false},{"title":"SplitRect.csproj <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明