MRiLab icon indicating copy to clipboard operation
MRiLab copied to clipboard

about load phantom

Open seanbule opened this issue 2 years ago • 3 comments

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.

seanbule avatar Nov 18 '22 13:11 seanbule

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).

leoliuf avatar Nov 19 '22 15:11 leoliuf

I'll try and thank you for your reply

seanbule avatar Nov 20 '22 07:11 seanbule

  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!

Kwnigrk avatar Apr 06 '23 12:04 Kwnigrk