具有渐变填充区域的图像分割 [英] Image segmentations with gradient filled regions

查看:194
本文介绍了具有渐变填充区域的图像分割的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须处理图像分割。该想法是将图像划分为具有相似颜色的像素的区域或可以由梯度方程(线性或径向)表示的像素。我发现许多算法基于颜色进行分离,但找不到任何处理渐变的算法。有人知道任何这样的算法或如何去做的建议。

I have to work on image segmentation. The idea is to divide an image into regions which have pixels either of the similar color or the ones which can be represented by a gradient equation (linear or radial). I have found many algorithms which do the separation based on colors but could not find anyone which handles gradients. Does someone know any such algorithm or suggestions on how to go for it.

推荐答案

Mean-Shift细分可能正是您所寻找的。它是在在OpenCV中实施。它可以容忍平滑的渐变,产生更自然的结果,或者如果他将图像转换为逐个数字,人类会想出的东西。

Mean-Shift Segmentation might be what you are looking for. It is implemented in OpenCV. It is tolerant of smooth gradients, yielding a more natural result, or something that a human would come up with if he was converting an image to a paint-by-number.

这是一个用均值漂移分割的图像:

Here is an image that was segmented with mean-shift:

这篇关于具有渐变填充区域的图像分割的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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