Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rle-morphology

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rle-morphology

Mathematical morphology operations for narrow band level sets

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

rle-morphology

Mathematical morphology operators for narrow band level sets. This is part of the [rle] collection of libraries.

Installation

Via npm:

npm install rle-morphology

API

There are four different functions exported by this library.

dilate(volume, structuring_element)

This dilates a volume by the structuring element. The structuring element is represented by a flat list of points, for example the output from one of the methods in rle-stencils.

erode(volume, structuring_element)

Erodes the volume by the element. The basic input and behavior is consistent with dilate.

opening(volume, structuring_element)

Performs a morphological opening. This is useful if you want to remove tiny features your shape. It is equivalent to doing:

dilate(erode(volume, element), element)

closing(volume, structuring_element)

Performs a morphological closing. This removes any tiny holes or cracks in your shape. It is equivalent to:

erode(dilate(volume, element), element)

Credits

(c) 2013 Mikola Lysenko. BSD License

Keywords

FAQs

Package last updated on 11 Feb 2013

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc