FHIS Image Segmentation Library
Fast Hsv Image Segmentation (FHIS) Library is an OpenCV based C++ adaptation of the original Matlab code designed for performing an accurate segmentation in real-time. FHIS creates a simple representation of the image by using the Delaunay triangulation. A HSV threshold is used in order to find similar triangles, obtaining an accurate segmented image. FHIS exploits OpenCV 2 and CGAL functions. The library is based on the work  realized by Camillo Taylor and Anthony Cowley of University of Pennsylvania.
A detailed description of the original segmentation method by Taylor and Cowley can be found in the paper "Parsing Indoor Scenes Using RGB-D Imagery" (pdf) in the proceedings of Robotics: Science and Systems (Science and System) 2012.
Please, cite the above paper and this page if you use FHIS.
FHIS is provided without any warranty about its usability. It is for educational purposes and should be regarded as such.
FHIS (compatible with OpenCv 2)
Source code for FHIS (can be compiled with cmake) can be downloaded here.
- Unzip the file fhis.zip in
- $mkdir build
- $cd build
- $cmake ..
FHIS is provided with an usage example (main.cpp)
For video files
$./fhis -vid video1.avi
For a single image:
$./fhis -singleimg images/1.png
For an image sequence (fps = 25 default value)
$./fhis -img images/1.png
In addition you can specify the fps value
$./fhis -img images/1.png -fps 7
Note that the usage example works only on image sequences in which
the filename format is
FHIS has been tested with multiple well-known image sequences representing different scenarios.
Results obtained by using FHIS are reported in the following.
FHIS has been written by Andrea Pennisi.
The author thanks Dr. Domenico Daniele Bloisi.
 Camillo Taylor and Anthony Cowley, "Parsing Indoor Scenes Using RGB-D Imagery", Proceedings of Robotics: Science and Systems, July 2012.