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

ndarray-gaussian-filter

Package Overview
Dependencies
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ndarray-gaussian-filter

Gaussian filter for ndarrays

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

ndarray-gaussian-filter

An FFT based Gaussian filter for ndarrays.

build status

Example

var baboon = require("luminance")(require("baboon-image"))
var savePixels = require("save-pixels")
var blur = require("ndarray-gaussian-filter")
savePixels(blur(baboon, 5), "png").pipe(process.stdout)
Output

Output

Install

Install using npm:

npm install ndarray-gaussian-filter

API

require("ndarray-gaussian-filter")(array,radius[,wrap])

Filters an ndarray using a Gaussian filter.

  • array is an ndarray.
  • sigma is the radius of the Gaussian filter. Can be either a scalar or an array.
  • wrap is checks whether the filter is applied as a circular convolution or uses 0 boundary. Default is false. Can be set as an array to select boundary conditions independently for each axis.

Returns array

License

(c) 2014 Mikola Lysenko. MIT License

Keywords

FAQs

Package last updated on 10 Jul 2015

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