OpenCV中文网站

 找回密码
 立即注册
搜索
热搜: 安装 配置
查看: 2448|回复: 1

Rect.width的单位是什么?px?

[复制链接]
发表于 2016-1-20 12:02:20 | 显示全部楼层 |阅读模式
大家好,我想问下:
Rect aRect = Imgproc.boundingRect(contours.get(i));
nt tmparea = aRect.width * aRect.height;

aRect.width的单位是什么,px?dp?
谢谢
回复

使用道具 举报

发表于 2016-1-20 12:25:20 | 显示全部楼层
图像的单位只有pixel。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|OpenCV中文网站

GMT+8, 2024-5-5 18:36 , Processed in 0.008483 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表