how do i calculate motion for x-ray images ?
Show older comments
Because X-ray images are transparent. So it is difficult to calculate motion using optical flow. Is there any other way to calculate motion using x-ray images.
Answers (2)
Image Analyst
on 19 Mar 2013
0 votes
I'm not sure I buy your statement on optical flow, but anyway...do you have 2 images, where each image is a still image, or do you have a single image where the movement happened over the exposure time and caused it to be blurry?
7 Comments
Raisul
on 19 Mar 2013
Image Analyst
on 19 Mar 2013
Did you try imregister()?
Raisul
on 20 Mar 2013
Image Analyst
on 20 Mar 2013
What kind of answer are you looking for. Exactly what kind of numerical array or image array are you thinking of when you say you want "to calculate motion"? Why didn't optical flow or imregister() work?
You get what you put into it. If you just say "Thank you for your reply. But this function not working in my case." then the normal thing for me to say to such a short explanation/response would be "You're welcome. At least I tried. Good luck with that." So I guess I'll just give up and leave it up to you now since it no longer looks like you're wanting help.
Raisul
on 20 Mar 2013
Raisul
on 20 Mar 2013
Youssef Khmou
on 20 Mar 2013
Edited: Youssef Khmou
on 20 Mar 2013
hi Raisul,
I am not specialist in 2D-Xray Motion, but i propose a way out :
% Lets work with an example : Magnetic Resonance Imaging
load mri;
D=squeeze(D);
D=im2double(D);
I1=D(:,:,15); % 15th sample
I2=D(:,:,16); % 16th sample
% Some propositions :
figure, plot(I1(:)), hold on, plot(I2(:),'r'), legend(' S15','S16')
Diff=I2-I1;
figure, plot(Diff(:)), % Can this be useful knowing that V=D/Time???????
Categories
Find more on Motion Estimation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!