GithubHelp home page GithubHelp logo

dakaizhou / vessel-segmentation-mr-registration Goto Github PK

View Code? Open in Web Editor NEW
27.0 1.0 5.0 546 KB

The code in this repository is from my master thesis. This project aims to automatically segment carotid from 3D MR brain image, and use the segmented carotid to extract Time-Activity-Curve from PET images. It mainly involves 3D image coregistration, vessel segmentation, partial valume correction.

License: MIT License

MATLAB 100.00%
vessel-segmentation image-processing image-registration partial-volume-correction

vessel-segmentation-mr-registration's Introduction

Automatic-Segmentation-of-Blood-Vessels-in-MR-Brain-Images

The code in this repository is from my master thesis. This project aims to automatically segment carotid from 3D MR brain image, and use the segmented carotid to extract Time-Activity-Curve from PET images. It mainly involves 3D image coregistration, vessel segmentation, partial valume correction.

The vessel segmentation algorithm based on the algorithm proposed by Frangi et al. in 'Multiscale vessel enhancement filtering'. Image coregistration algoritm applied Powell's algorithm, Brent's method and mutual information. Partial volume correction applied Geometric Transfer Matrix(GTM) method.

This project produced better results than PMOD did, in terms of the quality of vessel segmentation and the accuracy of image co-registration.

How to use?

Read the images first. DICOM file use DICOMSlices2Vol.m, NIfTI file use load_nii().

ImgCoreg.m requires input image structures read by DICOMSlices2Vol.m and load_nii() function. The recommanded tol is (0,0,0,0.01,0.01,0.01). The first three are tanslation tolarences, they can be exactly 0. The last three are rotation tolarences, they can be 0 for register identical image. But for multimodaliy image, they are recommanded to be 0.01(degree). The registration accuracy can be adjusted by rotation tolarences.

The input vol for CarotidSegmentation.m is image data, not a structure. Mode depends on the image to be processed. For mode 0, it requires the most memory and running time.

The carotid 3D visualization uses MATLAB build in app volumeViewer(). Old version MATLAB may do not have it. Then, this visualization app can be deactivated in CarotidSegmentation.m line 42. Functions in folder 'visualization plan B' can be used to have some basic views of a 3D volume.

Examples:

[Carotid1, Carotid2, CarodidBoth] = CarotidSegmentation(FE390M_MR.img, 0.5, 0.5, 0.1, 0.5:0.5:2, 2);

[p0, p, f, img, vf,v1,v1,vb]= ImgReg_VesSeg_TAC_PVC(FE390M_filter, FE390M_MR, [0,0,0,0.01,0.01,0.01], 0.5,0.5,0.1,0.5:0.5:1.5,1,16,[3,3,3]);

[p0, p,f, img, vf] = ImgCoreg(FE390M_filter, FE390M_MR, [0,0,0,0.01,0.01,0.01]);

Some Results:

The three images below are the projections of original MR iamge, vessels segmentated from original MR image and vessels segmented from co-registered MR image. screenshot from 2019-02-11 19-19-26 screenshot from 2019-02-11 19-19-58 screenshot from 2019-02-11 19-20-17

The images below is the Time-Activity-Curve(full time and first 8 minutes) of without and with partial volume correction screenshot from 2019-02-11 19-20-41 screenshot from 2019-02-11 19-20-57 screenshot from 2019-02-11 19-21-16 screenshot from 2019-02-11 19-21-40

vessel-segmentation-mr-registration's People

Contributors

dakaizhou avatar

Stargazers

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

Watchers

 avatar

vessel-segmentation-mr-registration's Issues

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.