Coder Social home page Coder Social logo

edge-detector-dude's Introduction

Edge Detector Dude

Edge Detector Dude is a sweet and sexy graphics utility that I've written in 2005 for the digital image segmentation course of the university and it looks like this:

screenshot

It computes and renders the Sobel edge-detected and the gradient-directed versions of the input image. The pixels of the gradient-directed image are computed by denoting the angle of the gradients of the pixels and mapping their value to the relevant grayscale colors.

Edge Detector Dude is actually a PyGTK-based front end that uses the accompanying gradient utility that processes the input image. gradient is written in C using the Allegro game programming library.

It is pretty likely that I screwed the algorithm for the gradient-directed image because it doesn't resemble anything recognizable. Oh well...

Build

To build gradient, you'll need the Allegro developer library which is contained by the liballegro-dev package on Debian. After having the dependencies installed you can easily build gradient by invoking make.

You don't have to build Edge Detector Dude, since it's a Python application however you'll need to have the PyGTK and the Python Glade packages installed which are named as python-gtk2 and python-glade2 in Debian.

Install

Copy the package directory to any place you want. After that modify the program_dir variable in the beginning of the edge-detector-dude.py file to reflect the actual pathname of the application.

You can invoke Edge Detector Dude from any place from this moment on.

Enjoy!

edge-detector-dude's People

Contributors

mondalaci avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.