Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about load phantom #47

Open
seanbule opened this issue Nov 18, 2022 · 3 comments
Open

about load phantom #47

seanbule opened this issue Nov 18, 2022 · 3 comments

Comments

@seanbule
Copy link

Hi, I want to load new phantom, like knee phantom. what shall I do? Do I need to design it myself? Many parameters may not be clear to me. Thank you all very much for answering my question.

@leoliuf
Copy link
Owner

leoliuf commented Nov 19, 2022

You might want to read this section https://leoliuf.github.io/MRiLab/manual/MRiLab_User_Guide_v1_3/MRiLab_User_Guidech5.html#x10-1010005.3

Also, if you have high-resolution knee images, you can create customized knee phantoms by segmenting tissues, assigning tissue parameters, and packaging all information into a virtual object (also see the above link).

@seanbule
Copy link
Author

I'll try and thank you for your reply

@Kwnigrk
Copy link

Kwnigrk commented Apr 6, 2023

  1. You need the image and the masks of your tissues
  2. Load your dicom image and masks (in matlab )
  3. Make your masks binary
  4. Mask your image
  5. Create a VObj function, where you must assign your zero (T1,T2,T2Star..etc)...then assign the appropriate values according to the tissue
  6. Go in another script and call the function in order to save it in mat file format, for example:
    VObj=VObj_masked_image(flag);
    save 'VObj_masked.mat' 'VObj'
  7. Open the mat file in MRiLab <3

*Tips : use Matlab 2013.
When you make your VObj function name the variables with the same name as the author has done! Also go to MRilLab file->Resources->MakePhantom2.m and examine this example or the other two! It was very helpful to understand how to work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants