Skip to main content

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.

Release files for maskslic 0.3.2.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for maskslic 0.3.2.post1
File Size Uploaded
maskslic-0.3.2.post1.tar.gz 14.8 kB Details

Release files / maskslic-0.3.2.post1.tar.gz

Download URL maskslic-0.3.2.post1.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5c00eeaee006b38b8a253d0c02d5ef684cd5818dbe69cc8809ae7430634432b7
BLAKE2b-256 checksum
How to use checksums
6fdf22bd81708b411f4c2b7c561eae89564a490993dbf8159ec536d0df0d7599
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

0.3.4

1 release file

0.3.3

1 release file

This release

0.3.2.post1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page