Skip to content

New user of FAIR #12

@Hoda-GH

Description

@Hoda-GH

Hi,

I want to do rigid registration for 3D MRI and 3D CT of pelvis for the same patient using "Normalized Gradient Field". From the ebook on FAIR the links to tutorials don't work. Should I choose parts of the codes for sampling, interpolation etc from the ebook to run for my images or are these already implemented ?

I tried examples in Matlab, first I ran FAIRstartup.m and then E7_basic.m or E9_PETCT_MLIR_NGF_mbCurv.m but I get the same error as following:

Unrecognized function or variable 'getCellCenteredGrid'.

Error in jpgs2data>@(k)getCellCenteredGrid(omegaI(k),m) (line 64)
xc = @(k) getCellCenteredGrid(omegaI(k),m);

Error in jpgs2data>@(I,k)viewImage(imgModel(I,omegaI(k),xc(k)),omegaI(k),m) (line 66)
viewData = @(I,k) viewImage(imgModel(I,omegaI(k),xc(k)),omegaI(k),m);

Error in jpgs2data (line 69)
subplot(1,2,1); viewData(dataT,1); title('template');

Error in setup2DPETCTData (line 25)
expfile = jpgs2data('','PET-CT-PET.jpg','PET-CT-CT.jpg', ...

can someone help me please!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions