Skip to content

Latest commit

 

History

History
71 lines (41 loc) · 1.56 KB

README.md

File metadata and controls

71 lines (41 loc) · 1.56 KB

README

Installation Instructions

Dependencies

Dependencies can be build from sources or obtained from package managers when available.

  1. g++/gcc version 7.3.0+
  2. htgs
  3. fast image
  4. LibTIFF
  5. openCV version 3.4.2+
  6. tclap
  7. glog

Building EGT

 mkdir build && cd build
 ccmake ../ (or cmake-gui)
 make

NOTE : Only one OpenCV function (erode) is used by the egt algorithm. Linking statically to OpenCV is recommended for container distribution in order to reduce the size of the container.

Distribution with Docker Container

A docker image can also be build from source.

The dist/Dockerfile contains the description of the container.

Running the executable

Command line

Example:

./commandLineCli
-i  "/path/to/images/pyramidal-tiled-image.tiff" \
-o "/path/to/output/" \
-d "16U"
--level "0"
--minhole "1000" --maxhole "inf" --minobject "3000" 

The -e flag can be used for advanced controls :

-e "loader=2;tile=10;threshold=87;intensitylevel=0"

Logging

Environment variables can be set to generate logs.

GLOG_logtostderr=1; #print tostderr instead of log file GLOG_v=[0..4] #set log level between 0 and 4 for more detailed logs

Log Levels :

0/ no logs. 1/ basic info and execution time. 2/ algorithmic steps. 3/ detailed logs. 4/ very detailed logs.