fordanic / image-registration Goto Github PK
View Code? Open in Web Editor NEWA MATLAB library/toolbox providing access to image registration suitable for use with medical images.
License: GNU General Public License v3.0
A MATLAB library/toolbox providing access to image registration suitable for use with medical images.
License: GNU General Public License v3.0
this is my startup file
addpath('path-to-this-repository')
setup_image_registration_repository();
load ('NORMA_002_S_0295.mat')
im = double(squeeze(D));
moving = im;
fixed=load('template_041_S_0898.mat')
im1 = double(squeeze(D));
fixed = im1;
[deformed, displacementField, displacementFieldInverse] = run_non_rigid_registration(moving, fixed, 'demons', 'add', 3, 0, [10], true, [1.5], true, [1.5])
But it is wrong!
here are the mistake:
Image size is too small for this resampling factor. No resampling.
Image size is too small for this resampling factor. No resampling.
Error using add_update_field_to_acc_field (line 53)
Unknown accumulation method
Error in registration_execute (line 365)
registration.displacementField =
add_update_field_to_acc_field(...
Error in run_non_rigid_registration (line 178)
registration_execute();
Error in startup (line 35)
[deformed, displacementField, displacementFieldInverse] =
run_non_rigid_registration(moving, fixed, 'demons', 'add', 3, 0,
[10], true, [1.5], true, [1.5])
Sorry!
I use demons for my registration on 3D data, I get a displacementfield which has 3 matrix, so it is simply add the displacementfield with moving, or it has some complex method. I see the function ba_interp3, but I can't understand it.
sorry to bother you! Thank you!
Hello,
I am new to image registration, and when I ran registration_example3d.m there is the error:
Error using pad (line 60)
First argument must be a string array, character vector, or cell array of character vectors.
Error in display_image (line 76)
imPlaneYX = pad(plane,[sz sz]);
Error in display_fixed_moving_warped (line 35)
display_image(fixed,1,'fixed','gamma',gamma)
Error in display_results_registration3d (line 46)
display_fixed_moving_warped(fixed,moving,deformed,gamma);
Error in registration_execute (line 455)
display_results_registration3d(...
Error in registration_example3d (line 215)
registration_execute();
I don't know how to fix it,Would you please help me?
Thank you very much!
Yesterday I ran the code successfully! But today the code have a error
I just put [deformed, displacementField, displacementFieldInverse] = run_non_rigid_registration(moving, fixed, 'demons', 'sum', 2, 0, [10], true, [1.5], true, [1.5])
then the error
Error using CUDA_non_rigid_registration3d (line 65)
CUDA_affine_registration3d is implemented as a mex-file. It has
not been compiled on this platform.
Error in run_non_rigid_registration (line 132)
[deformed, displacementField{1}, displacementField{2},
displacementField{3}] = ...
I did add dforsberg-cuda-7a242e0d5a4c and dforsberg-matlab_cuda-7877e5d85f5f toolboxes
I dont know why
Sorry to bother you, I want use it to registration with demons for 3D MRI data. Can you give me a example of how to use it?
Hello,
I am new to image registration, and when I ran registration_example3d.
when I repace the pad by padarray,there is the error:
Wrong use horzcat
The dimensions of the arrays to concatenate are inconsistent.
Error display_image (line 83)
imPlane = [imPlaneYX flipud(imPlaneYZ') flipud(imPlaneXZ')];
Error display_fixed_moving_warped (line 35)
Display_image(fixed,1,'fixed','gamma',gamma)
Error display_results_registration3d (line 46)
Display_fixed_moving_warped(fixed,moving,deformed,gamma);
Error registration_execute (line 455)
Display_results_registration3d(...
Error registration_example3d (line 215)
Registration_execute();
I don't know how to fix it,Would you please help me?
Thank you very much!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.