我可以使用OpenCV分析图像内容吗? [英] Can I use OpenCV to analyze image content?

查看:256
本文介绍了我可以使用OpenCV分析图像内容吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要检测图像的内容。





等等。



任何想法如何开始?

解决方案

简称答案是:是的。
下面是使用OpenCV的快速第一步-基本上,我只是从图像的每个区域中获取了一些训练补丁,然后根据与每个补丁的接近程度对每个像素进行了分类。
天空很容易,平原水很容易,但是很难将建筑物与建筑物的反射区分开。



您要查找某种功能(大致颜色,亮度,纹理,但是有很多不同的主意对于要识别的不同事物来说是不同的),然后将具有相似特征的像素聚在一起。这是一个广阔的领域,Szelinski的计算机视觉书籍和Murphy的机器学习书籍都是不错的起点。




I want to detect content of images.

For example I want to use the above image as an input, and get as output list of terms like: sky, water, sea, buildings etc.

Any idea how to start?

解决方案

The short answer is: yes. Below is a quick first effort, using OpenCV - essentially I just took some training patches from each area of the image and then just classified each pixel according how close it was to each patch. The sky is easy, and plain water is easy, but it is difficult to separate buildings from reflections of buildings. This particular image is a bit difficult to start with.

You want to find some sort of features (roughly color, brightness, texture, but there are lots of different ideas that appropriate for different situaions) that are different for different things you want to recognize, and then cluster pixels with similar features together. This is a huge field, Szelinski's computer vision book amd Murphy's machine learning book are good places to start.

这篇关于我可以使用OpenCV分析图像内容吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆