GithubHelp home page GithubHelp logo

smo216 / segmentationcheck Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wildthingz/segmentationcheck

0.0 1.0 0.0 940 KB

Code for calculating volume fraction of a phase using image processing techniques in XMT images

License: Other

Python 100.00%

segmentationcheck's Introduction

#SegmentationCheck This code is developed to analyze XMT (X-ray microtomography) images from aluminium copper samples. Fig1 shows a reconstruted volume from a set of XMT images.

fig1. Reconstruced volume from XMT images.

##Code Description First section of the code, `comp()`, is used to convert mass fraction to volume fraction in eutectic alloys, using either Schiel equation or lever rule depending on user's intentions. Second section, `VolFracTomog()`, is used to calculate the area fraction of the secondary phase in a micrograph. User can implement K-means method, use their own threshold array or use Ostu's method to segment the image. The code then can be used to iterate over a number of images, this is specially useful if the user is inteding to determine the volume fraction of a phase in XMT images. The thir bit of the code is a custom code to generate a plot for a specific problem, user may write their own code to visualize their results. ##Sample results For this case, I have run this code for 4 different materials. Note that close to 11000 XMT images (fig2) were analyzed in the process.

fig2. Sample XMT image.

A sample result image has also been generated (fig3). Note that this is only a sample illustration and does not represent the actual results generated from the XMT images.

fig3. Sample illustartion of the results.

# Tested versions These scripts have been tested using: - Python 2.7.11 Anaconda 2.3.0

segmentationcheck's People

Contributors

wildthingz avatar

Watchers

 avatar

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.