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.
Figure 2: The final superpixel regions within the ROI
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file maskslic-0.3.4.post2.tar.gz
.
File metadata
- Download URL: maskslic-0.3.4.post2.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9b73334b09970b0f72b8f3627799236bb151ef4e9bf299f4b43560526907b06 |
|
MD5 | cce441a3be6029d8e64453c816d1a5cb |
|
BLAKE2b-256 | fe01373bd8e8f2aa17b7cd47aebaf62819840043ffb14d15c65b18a54f9f5ccd |