Skip to main content

Simple linear iterative clustering (SLIC) in a region of interest (ROI)

Project description

maskSLIC

Simple linear iterative clustering (SLIC) in a region of interest

Outline

This code demonstrates the adaption of SLIC for a defined region of interest. The main contribution is in the placement of seed points within the ROI.

The code is a modification of the SLIC implementation provided by Scikit-image (http://scikit-image.org/)

An online demo is available at: http://maskslic.birving.com/index

An outline of the method is available at: http://arxiv.org/abs/1606.09518

Figure 1: An example region and the automatically placed seed points using this method.

seed points

Figure 2: The final superpixel regions within the ROI

superpixels

Getting started

Install dependencies
pip install -r requirements.txt

build cython code
python setup.py build_ext --inplace

run example
python run_example.py

Using a python virtualenv is reccommended on linux to get the latest versions of the dependencies.

Development

This code is still a work in progress.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maskslic-0.3.2.post1.tar.gz (14.8 kB view details)

Uploaded Source

File details

Details for the file maskslic-0.3.2.post1.tar.gz.

File metadata

  • Download URL: maskslic-0.3.2.post1.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for maskslic-0.3.2.post1.tar.gz
Algorithm Hash digest
SHA256 5c00eeaee006b38b8a253d0c02d5ef684cd5818dbe69cc8809ae7430634432b7
MD5 bf1b8cf2ab14e3d33e03d7c667a46e4b
BLAKE2b-256 6fdf22bd81708b411f4c2b7c561eae89564a490993dbf8159ec536d0df0d7599

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page