/spixel

Primary LanguageC++OtherNOASSERTION

Real-Time Coarse-to-fine Topologically Preserving Segmentation

This is an implementation of the algorithms in this paper

Real-Time Coarse-to-fine Topologically Preserving Segmentation
by Jian Yao, Marko Boben, Sanja Fidler, Raquel Urtasun

This repository provides python bindings for the orginal code.

Prerequisites

The dependecies are

Additionally to build this project you need:

Install

Clone the repository, go to project root and run python3 -m pip install ..

Usage

import spixel
img = ...
disparity = ...
params = [...]
label_field = spixel.segment(img, *params)
label_field = spixel.segment_disparity(img, disparity, *params)

Contact

If you have questions regarding original code, please contact marko.boben@fri.uni-lj.si