Code Monkey home page Code Monkey logo

brain-tissue-segmentation-using-expectation-maximization's Introduction

Brain-Tissue-Segmentation-Using-Expectation-Maximization

Medical Image Segmentation and Applications (MISA) LAB task.

Functions Used in two codes::

  1. show_slice(img, slice_no):

    Inputs: Name of the Image Array, img=name.get_fdata() Slice number you want to knoe,Slice no = 24 output: Plot Image.

  2. gmm(x, mean, cov):

    Inputs: x (numpy.ndarray): nxd dimentional array. where n= number of samples d= dimention mean (numpy.ndarray): d-dimentional mean value. cov (numpy.ndarray): dxd dimentional covariance matrix.

    output: (numpy.ndarray): Gaussian mixture for every point in feature space.

  3. dice_similarity(Seg_img, GT_img,state):

    Inputs: Seg_img (numpy.ndarray): Segmented Image. GT_img (numpy.ndarray): Ground Truth Image. State: "nifti" if the images are nifti file "arr" if the images are an ndarray

    output: Dice Similarity Coefficient: dice_CSF, dice_GM, dice_WM.

  4. Dice_and_Visualization_of_one_slice(Seg_img, GT_img,state,number_of_slice): """Example Use: Dice_and_Visualization_of_one_slice(Seg,Label_img,"arr",30)"""

    Inputs: Seg_img (numpy.ndarray): Segmented Image. GT_img (numpy.ndarray): Ground Truth Image. State: "nifti" if the images are nifti file "arr" if the images are an ndarray output: Dice Similarity Coefficient: dice_CSF, dice_GM, dice_WM. Ploting image

brain-tissue-segmentation-using-expectation-maximization's People

Contributors

fitushar avatar

Stargazers

 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.