Coder Social home page Coder Social logo

liu-yikang / sherm-rodentskullstrip Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 1.0 140.94 MB

Implementation of algorithm in 'Yikang Liu et al. (2020) Automatic Brain Extraction for Rodent MRI Images. Neuroinformatics. doi: 10.1007/s12021-020-09453-z''

License: GNU General Public License v3.0

MATLAB 100.00%
image-segmentation medical-image-processing neuroimaging-analysis shape-descriptor

sherm-rodentskullstrip's People

Contributors

liu-yikang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mrimagingli

sherm-rodentskullstrip's Issues

Error running SHERM on my dataset.

Hello,

I'm trying to use SHERM on one of my images and I changed Demo.m to read nii.gz:

img_list = dir(fullfile(input_dir, '*.nii.gz'));
animal = {'rat'};
isotropic = [0];

But then, it gives me this error:

Error using <
Matrix dimensions must agree.

Error in sherm (line 42)
[ids_chan, ids_mser] = find((desc_dist >0 & desc_dist) < (min(desc_dist(desc_dist>0)) + 0.05*sum(abs(desc_tmp))));

What is exactly that line and how could I fix it so that it works on my data?

Thanks.

Demo.m Execution Error

Hello,

when I run the Demo.m file I get this error:
image

I try to figure out where the problem comes from.
Thanks for your work. It seems pretty great.

This Package needs the: "statistics and machine learning toolbox" (also the "image processing toolbox"). It would be helpful if you could mention these requirements.

PS: the first command in demo.m root_dir = strrep(mfilename('fullpath'),'example',''); does nothing, because you renamed the file.

Convexity Threshold Setting

Dear SHERM team: I read that the default implementation specifies the convexity threshold to 0.85, but I can't find where in the code that's done. Could you please offer a hint where to look for this parameter?

Error computing the convex hull

Hi. I got the following error when trying to run sherm on my data (the images are anisotropic and have the correct header). Why does it happen, and what to do to make it work?

Error using get_convexity (line 9)
Error computing the convex hull. The points may be coplanar or collinear.
Error in sherm_parallel_2d (line 108)
parfor i_mser = 1:size(masks_channel, 4)
Error in sherm (line 34)
sherm_parallel_2d(nii,descriptor_filename,drs,brain_vol_range,...

Thanks!

Create another Shape Descriptor

Hello,

I try to create a shape descriptor template for a mongolian gerbil (very similar to a mouse but not enough to just use the mouse template). I know there's a description about it in the paper but I'm not familiar with all the math you're doing to create the template. Do you have a code for this?

I think the get_shape_descriptor.m calculate the discriptor for the to-be-striped dataset. I tried to use my gerbil template mask to run this function, but the min desc value is always 0 and I don't know why, because the result isn't good at all and far away from perfect ("desc min = 0" means a perfect match?).

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.