/CRIEA

New version of CRIEA code

Primary LanguagePython

CNN and Random Walk Image Edge Algorithm

Offcial Website(Just in Chinese): http://www.criea.info
Email: KazukiAmakawa@gmail.com

Warning: I am not confident if this program can work on windows or not. However, I did some work on compatibility. If you find this program cannot be worked on Windows systems, please link to me as soon as possible. THANKS~

As you see, I have just finished the program as my homework include the most of classical algorithm in Image Procecssing Class. And, of course, I copied the most of information from that file.
As this program not finish, I will just show you how to get the right surround.

Surrounding

Here, I will give you the installation in UNIX(Ubuntu, Debain, Fedora, Red-hat and MacOS)
For windows, you need python3(Pay attention, PYTHON3), open-cv, python package Pillow, matplotlib, PyWavelets. I prefer to install them by "anaconda" rather than using others(But actually I hardly ever coding on windows, espacelly coding by python. So you know what I mean.). It is not necessary but a advice that you should install "git" on your PC.

For UNIX(Ubuntu, Debain, Fedora, Red-hat and MacOS)
STEP 1: Install Python3
For Linux Ubuntu and Debain system

    sudo apt upgrade
    sudo apt update
    sudo apt install python3 python3-pip ipython3

For Fedora and Red-hat system

    sudo yum upgrade
    sudo yum update
    sudo yum install python3 python3-pip ipython3

For Mac OS
You should insttall brew first

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

And install python3

    brew update
    brew upgrade
    brew install python3 python3-pip ipython3

STEP 2: Install python package

    pip3 install Pillow
    pip3 install matplotlib
    pip3 install PyWavelets

You should also install opev-cv, however, as the installation of open-cv is so different, I cannot give you some confident method to install it. Here I will give you a reference of open-cv installation.
For Linux
https://docs.opencv.org/trunk/d7/d9f/tutorial_linux_install.html
For Mac OS
https://www.pyimagesearch.com/2016/12/19/install-opencv-3-on-macos-with-homebrew-the-easy-way/

STEP 3: Download the program
You can download this program with git, and I will show you how to use it.

    git clone https://github.com/KazukiAmakawa/CRIEA/