Socket
Socket
Sign inDemoInstall

maskslic

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    maskslic

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


Maintainers
1

Readme

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.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc