Surveyor Robotics Journal |
|||||
|
email:
web:
rss: Archives |
Wed, 20 Aug 2008 Surveyor SVS (stereo vision system) - first experiments with automated color segmentation for stereo disparity calculations While others are working on much more sophisticated stereo disparity algorithms using host computing power, I thought we might be able to build some basic matching functions into the Blackfin firmware using simple color matching for correlating objects between the separate views. The key to this approach is to segment the images into a minimal set of colors that can be used for simple image comparisons. Color segmentation is an interesting research problem which has led to the definition of a variety of color spaces, as discussed here and here, as well as a variety of feature processing models, as described here. One of the goals in creating the SRV-1 Blackfin and the SVS was to provide an easily accessible platform for experimenting with the color segmentation challenge. As described above, a simple approach would minimize the number of colors in the corresponding stereo images and then look for matches. Below, you will see the original stereo pair (scaled down for this display), a 16 color segmentation that uses 4 luminance and 4 chrominance levels (2 bits Y, 1 bit U, 1 bit V - "211"), and a 16 color segmentation that uses 4 U and 4 V levels (2 bits U, 2 bits V, and no luminance component - "022").
The 211 approach seems to provide reasonable feature definition, but correlation of colors between left and right images isn't actually so great. The 022 approach doesn't seem to be making very good use of the range of colors, but the feature correlation almost looks usable. So the next step is to find a segmentation of the UV-only space that more efficiently maps actual colors. Along these lines, we divided the U and V color spaces into 16 segments each, and then built a tool to display the U vs V histogram in 2D.
The next step is to define a segmentation that looks for clustering or local maxima in the 2D histogram. So stay tuned ... Posted Wed, 20 Aug 2008 19:39 | HTML Link | see additional stories ... |
||||