Skip to content

Python implementation of the img2net algorithm.

Notifications You must be signed in to change notification settings

diegoabt/Img2net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeFactor

Img2net: from images to networks

Python implementation of the img2net algorithm proposed in:

hi

If you use this tool please cite [1].

What's included?

  • code/ :
    • img2net-core/: main files used to extract the networks from the images.
    • metrics/: scripts used to compute the metrics exhibited in [1].
    • test/: test files.
  • figures/ : README figures.

Requirements

This repository uses some of the functions proposed on the repository Nextrout[2], thus, it is necessary to clone it:

That repository itself needs some dependecies coming from some GitLab repositories, so you will need an account.

Once Nextrout is cloned, the next step is to install the other python packages found in requirements.txt:

pip install -r requirements.txt

Please locate Img2net and Nextrout at the same level, i.e.,

  • folder
    • ...
    • Image2Net
    • Nextrout
    • ...

Test

To test the tool, please go the folder test inside code folder and execute

python test_img2net.py

This will execute img2net on a test image contained in the input folder; results will be stored in the folder runs.

References