使用python实现标记图像感兴区域
2013-12-13 15:42
555 查看
Although it is possible to create nice bar plots,pie charts scatter plots,etc.only a few comments are needed for most computer vision purposes.Most Importantly ,we want to be able to show
things like interest points,correspondences and detected objects using points and lines. Here is an example of plotting an image with a few point and a line.
![](https://oscdn.geek-share.com/Uploads/Images/Content/201908/25/e47b2c54750c257acf803443ac901b7c)
关于Image Engineering & Computer Vision的更多讨论与交流,敬请关注本博客和新浪微博songzi_tea.
things like interest points,correspondences and detected objects using points and lines. Here is an example of plotting an image with a few point and a line.
from PIL import Image from pylab import * im = array(Image.open('192917.bmp')) # read image to arry imshow(im) # plot the image #some points x =[10,10,180,180,10] y =[10,220,220,10,10] #l =[180,200,240,225,180] #h =[100,100,200,200,100] m =[200,280,256,225,200] n =[88,88,168,168,88] j =[290,369,377,300,290] k =[88,88,168,168,88] axis('off') # line plot connecting the first two points plot(x[:5],y[:5]) #default blue solid line #plot(l[:5],h[:5],'r') # red star-markers plot(m[:5],n[:5],'go-') # green line with circle-markers plot(j[:5],k[:5],'ks:') #black dotted line with square -makres title('Plotting: "test.jpg"') show()
关于Image Engineering & Computer Vision的更多讨论与交流,敬请关注本博客和新浪微博songzi_tea.
相关文章推荐
- 使用Python实现图像标记点的坐标输出
- 图像分割-区域标记算法(实现)
- 使用Python实现子区域数据分类统计
- 【python下使用OpenCV实现计算机视觉读书笔记2】图像与字节的变换
- 使用Python实现子区域数据分类统计
- [置顶] 【Python】使用skimage完成二值图像连通区域标记及属性提取
- OpenCV:二值图像连通区域分析与标记算法实现
- 使用Python实现子区域数据分类统计
- 使用Python实现子区域数据分类统计
- 使用Python实现子区域数据分类统计
- OpenCV:二值图像连通区域分析与标记算法实现
- Python使用matplotlib实现的图像读取、切割裁剪功能示例
- 使用Python实现子区域数据分类统计
- 使用Python实现子区域数据分类统计
- 实现二值图像连通区标记之区域生长法
- 利用区域标记实现图像分离
- 使用Python实现子区域数据分类统计
- 使用Python实现子区域数据分类统计
- 使用Python实现子区域数据分类统计