Dippykit: A Python Library for Digital Image Processing

    Documentation     

A Python Library for Digital Image Processing.

This library was developed for the Georgia Tech graduate course ECE 6258: Digital Image Processing with Professor Ghassan AlRegib.

Installing dippykit

  1. We recommend installing dippykit from PyPI. From the command line, enter the command pip install dippykit. This may take a while, so be prepared to wait.

Verifying Your Installation

  1. From the command line, enter the command “python”. This will convert your terminal into an interactive Python interpreter where you can run Python code line by line.
    • In some cases (e.g. if a version of Python 2 is already installed on your machine), you will need to use the “python3” or other command to open an interactive Python 3 interpreter. To exit the interpreter, simply enter the “exit()” command. Right before the interpreter opens, it should display the version of Python it is using. Ensure that this version is your subversion of Python 3.
  2. Enter the following lines of code into the interpreter
    • import dippykit as dip
    • dip.window_2d(8, 'rect', dim=(2, 4)) array([[0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. ], [0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. ], [0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. ], [0. , 0. , 0.125, 0.125, 0.125, 0.125, 0. , 0. ], [0. , 0. , 0.125, 0.125, 0.125, 0.125, 0. , 0. ], [0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. ], [0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. ], [0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. ]])
  3. If the above array was displayed, congratulations – your installation was successful!
Print Friendly, PDF & Email