Grayscale Surface Direction Angle Model
C++
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
supplementary_material
.gitignore
README.md
and_template_original_imgs.cpp
and_two_binary_imgs.cpp
check.cpp
compute_direction_angles.cpp
extract_max_area_contour.cpp
main.cpp
map_binarization.cpp
model.cpp
save.cpp
使用说明.txt

README.md

GSDAM

Grayscale Surface Direction Angle Model.

Copyright

This software is free for use in research projects. If you publish results obtained using this software, please use this citation.

@article{zheng2014automatic,
author  = {Zheng, Haiyong and Zhao, Hongmiao and Sun, Xue and Gao, Huihui and Ji, Guangrong},
title   = {Automatic setae segmentation from Chaetoceros microscopic images},
journal = {Microscopy Research and Technique},
year    = {2014},
}

Manual

Installation

  • Insure you have installed OpenCV Library.
  • Open supplementary_material/GSDAM.cbp in Code::Blocks and build the project named GSDAM.

Run the code

  • Using the command line in terminal, change directory into the location of final file.

      >  cd */bin/Debug/
    

    * represents the directory of the program.

  • Under the directory, you can get the final image without any parameters.

      >  ./GSDAM *.jpg 
    

    * .jpg is the input image and it will output a image named "*-Bidui.tif".

  • Or run the file with several parameters and exact filenames you want for obtaining intermediate images.

      >  ./GSDAM *.jpg -x x.tif -y y.tif
    

    x.tif and y.tif are the filenames of output images along with -x and -y as the optional parameters perspectively.

  • More details please read 使用说明.txt

Contact

If you have any question, please feel free to contact Haiyong Zheng (zhenghaiyong@gmail.com).