GithubHelp home page GithubHelp logo

fast-finecut's Introduction

Fast-FineCut

Citation

This is an implementation of Fast-FineCut algorithm in Python 3, which is a boundary detection algorithm in microscopic images considering 3D information.

If you use it successfully for your research please be so kind to cite our work:

@article{ma2018fast,
  title={Fast-FineCut: Grain boundary detection in microscopic images considering 3D information},
  author={Ma, Boyuan and Ban, Xiaojuan and Su, Ya and Liu, Chuni and Wang, Hao and Xue, Weihua and Zhi, Yonghong and Wu, Di},
  journal={Micron},
  year={2018},
  publisher={Elsevier}
}

or

Ma B, Ban X, Su Y, et al. Fast-FineCut: Grain boundary detection in microscopic images considering 3D information[J]. Micron, 2018.

Introduction

The inner structure of a material is called microstructure. It stores the genesis of a material and determines all its physical and chemical properties. However, it is still a big challenge to detect key information in microscopic images fastly and accuratly. In this work, we address the task of grain boundary detection in microscopic image processing and develop a graph-cut based method called Fast-FineCut to solve the problem. Our algorithm makes two key contributions: 1) an improved approach that incorporates 3D information between slices as domain knowledge, which can detect the boundaries precisely, even for the vague and missing boundaries. 2) a local processing method based on overlap-tile strategy, which can not only solve the "chain scission" problem at the edge of images, but save the consumption of resources (such as computational time and memory space), making it possible to analyze the microscopic images with huge resolution.

Requirements

Python 3 need to be installed before running this scripts. To run this algorithm, you need to install the python packages as follows:

opencv 3
gco(gco_python-master, gco-v3.0)

To install gco, you need to download the gco_python-master and gco-v3.0 at here first, after download, enter the gco_python-master directory, open the setup file and change the gco_directory to your gco-v3.0 directory, and then, run the command:

python setup.py install

DataSet and Running

We provide 5 test microscopic images in the folder images, including the Original, GroundTruth and Results, the Results includes the detection result of Fast-FineCut algorithm, Wagonner's algorithm and Others.

If you want to run the Fast-FineCut algorithm and Waggoner's algorithm, run the fastFineCutDemo.py, if you want to run the other algorithm, including Otsu, Iteractive, Canny and Adaptive Threshold, run the edgeExtractAllDemo.py, and if you want to run this on your own datasets, you have to change the corresponding image address in those files.

The example results of Fast-FineCut algorithm is shown as follows:

fast-finecut's People

Contributors

clovermini avatar keep-passion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fast-finecut's Issues

How to cite the images

Hello, your work does well, can I use the 5 test microscopic images in the folder images in my paper. Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.