求取一幅二值图像包含目标区域的最小矩形框我要分享

Find the minimum rectangle of a binary image containing the target region

矩形 目标区域 图像-区域-边界 bounding-box 矩形框

关注次数: 286

下载次数: 0

文件大小: 66K

代码分类: 图像处理

开发平台: matlab

下载需要积分: 1积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:求取一幅二值图像包含目标区域的最小矩形框,返回矩形框的上下左右边界,然后根据边界坐标在图上画出目标区域。


English Description:

Find the minimum rectangle of a binary image containing the target area, return the upper, lower, left and right boundaries of the rectangle, and then draw the target area on the graph according to the boundary coordinates.


代码预览