Coder Social home page Coder Social logo

Masks registration about minc-tools HOT 9 CLOSED

bic-mni avatar bic-mni commented on August 12, 2024
Masks registration

from minc-tools.

Comments (9)

andrewjanke avatar andrewjanke commented on August 12, 2024

Hi Patrick,

If I understand you correctly, you'll want to add a '-nearest_neighbour' argument when you call mincresample to avoid interpolation.

a

from minc-tools.

findios avatar findios commented on August 12, 2024

Thanks you Andrew for the fast reply. That was exactly what i needed.
Regards

from minc-tools.

findios avatar findios commented on August 12, 2024

I'm sorry for asking something like this again but:
after i register one image with the standard_pipeline if I want t register the hippocampus mask of that image shouldn't i just use: mincresample -nearest_neighbour /
-transformation transformation_file_from_pieline.xfm /
-like mni_icbm152_t1_tal_nlin_sym_09c.mnc /
mask.mnc mask12_reg.mnc

Something is going wrong with the resampling.
Thanks for the help in advance.
Patrick

from minc-tools.

vfonov avatar vfonov commented on August 12, 2024

Hello,

can you define precisely what kind of data you have and what are you trying to achieve?

from minc-tools.

findios avatar findios commented on August 12, 2024

Both images (MR image an manually segmented hippocampus mask image) were download from ADNI database. Basically I will need to know which potions in the original image will correspond to the hippocampus after the registration. The registration of the original image was made using standard_pipeline.pl. Now I was trying to apply the same registration to the mask file. Sorry if i'm note making myself clear enough.

from minc-tools.

vfonov avatar vfonov commented on August 12, 2024

Then , I suggest using
itk_resample --byte --labels --transform transformation_file_from_pieline.xfm --like mni_icbm152_t1_tal_nlin_sym_09c.mnc input.mnc output.mnc

Also, make sure that labels align with the anatomy as was used as input for the pipeline (i.e in Display or register )

from minc-tools.

findios avatar findios commented on August 12, 2024

The masks appear to have some translation. When i use mincinfo the start point isn't the same. That could result in some problem in the registration?

from minc-tools.

vfonov avatar vfonov commented on August 12, 2024

Check if the voxels in masks properly align with anatomical scans using register or display (i.e minc programs).

from minc-tools.

findios avatar findios commented on August 12, 2024

No, they are not. The MRI was preprocessed so probably there is some kind translation I wasn't aware. I will try using the original image. Thank you so much for the help.
Regards
Patrick

from minc-tools.

Related Issues (20)

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.