- Download the latest version of
Python
from https://www.python.org/downloads/ - Execute the installer
- Make sure the following options are selected and then click on Install Now
- Once the setup is complete before closing the installer make sure to click the following option
- Access the GitHub repository, currently at https://github.com/Gonxolo/activeContour
- Download the files from the repository. To do this, click on the "Code" button and then on "Download ZIP"...
- Once the download is complete unzip the files and go into the
activeContours
folder (you may need a decompression software for ZIP files). - Inside the folder click the adress bar...
- Write "cmd" on the adress and press Enter...
- Inside PowerShell write the following command and then press Enter
pip install -r requirements.txt
This will install every necessary package for the execution of the program.
- Once the previous step is complete write the following command and press Enter:
python demo.py
demo.py
is a file made for demonstration purposes: it executes the program on a sample image (demo_img.tif
) with 10 ROIs included within the demofiles
folder, the program, prints the number of the ROI it is currently processing, and once it has processed every ROI an output image should be displayed on screen...