baidut / OpenVehicleVision

An opensource lib. for vehicle vision applications (written by MATLAB), lane marking detection, road segmentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

road segmentation

baidut opened this issue · comments

方案1 exe 调用

Raw = imread('F:\Documents\pku-road-dataset\1\EMER0009\0379.jpg');
Seg =  FelzenSegment(Raw);
implot(Raw,Seg);

方案2 mex 编写
方案3 c实现

matlab image segmentation

kmeans Fast kmeans Algorithm Code

先使用http://cs.brown.edu/~pff/segment/

更复杂的 调用了该结果的SelectiveSearchCodeIJCV

vvSeg.felzen(Img,2.000000,500.000000,50.000000);

image

sigma 比较小时 并不平滑
sigma = 0.6
capture

sigma = 2 时效果较好

image

使用matlab app
Color Thresholder 进行分割
分割方法:依次调节各个阈值使得结果最好

image

image

Lab的ab分量分布非常局限,只有一小部分,和Hue分量一样,说明颜色有限

通过选择区域即可快速自动找阈值