Skip to content

Elements-/sobel-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sobel Operator

Node.js implementation of the Sobel Operator (Sobel-Feldman operator)

  • Edge Detection (sharp changes in contrast)
  • Standard Sobel X/Y kernels
  • Fast (I was able to process 3 million pixels per second on a laptop)

Currently this is only a CLI application, however its code shouldnt be very difficult to implement elsewhere.

node sobel.js input.png output.png

Kernels

kernels

Installation

Install the CLI

npm install sobel-cli -g

Give it a try!

node sobel.js myImage.png edges.png

Example of the Sobel Operator

Note: This image is very large however it still only took a few seconds to process on a small server.

unprocessed processed

About

Node.js implementation of the sobel operator (edge detection)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published