Replies: 8 comments 5 replies
-
Hi @bjy12 I am not sure what are you having trouble with, can you explain better? TIGRE does not work in HUs, but linear attenuation coefficients. Additionally, projections are not in HUs, ever. |
Beta Was this translation helpful? Give feedback.
-
I apologize
I didn't clearly describe the issue I'm facing.
I have images using TIGRE's DRR, and they look like this
[image: image.png]
And the raw CT image is look like this
[image: image.png]
But I want to generate DRR image like this
[image: image.png]
I want the generated DRR images to have clearer bone structures, and I
would like the grayscale representation of the skin to be lower.
Biguri ***@***.***> 于2023年12月4日周一 16:28写道:
… Hi @bjy12 <https://github.com/bjy12> I am not sure what are you having
trouble with, can you explain better?
TIGRE does not work in HUs, but linear attenuation coefficients.
Additionally, projections are not in HUs, ever.
But also, if you want a different attenuation, you can change the image
you used to generate them. Finally, maybe you just want to change the
visualization range, the clims?
—
Reply to this email directly, view it on GitHub
<#510 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX2SV5R45G7Q2PGS6GMB453YHWCSXAVCNFSM6AAAAABAFHSJ5WVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONJQGM2DE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, @bjy12 |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response. In fact, I would like to enhance the contrast
between the skin and bones in the generated DRR images.
|
Beta Was this translation helpful? Give feedback.
-
I think my first commetn still stands. If you generate DDRs with TIGRE (knowing that they simulate monochromatic non-scattered perfect X-rays), there is no other way to generate a different looking image. There is only 1 radiograph possible existing for a given geometry. There are 2 things that when changed will generate a different radiograph: However, I still just wonder if you are having issues with visualization. What exact code did you use to visualize the radiograph? Because if you change the limits, the bone will look whiter. Just make sure you are not confusing visualization range with data value. |
Beta Was this translation helpful? Give feedback.
-
Thank you once again for your response. Currently, I am reading the
original CT images using SimpleITK and converting them into arrays,
followed by normalization. Could you please clarify what you mean by
changing the original CT images? Additionally, the code I use for
visualizing DRR images is tigre.plotproj(cfg['train']['projections']).
Biguri ***@***.***> 于2023年12月5日周二 19:27写道:
… I think my first commetn still stands. If you generate DDRs with TIGRE
(knowing that they simulate monochromatic non-scattered perfect X-rays),
there is no other way to generate a different looking image. There is only
1 radiograph possible existing for a given geometry.
There are 2 things that when changed will generate a different radiograph:
1- change the raw CT image. 2-Change the physics simulation (which you can
not do in TIGRE).
However, I still just wonder if you are having issues with visualization.
What exact code did you use to visualize the radiograph? Because if you
change the limits, the bone will look whiter. Just make sure you are not
confusing visualization range with data value.
—
Reply to this email directly, view it on GitHub
<#510 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX2SV5S3YEWV7CR7BS2JSHDYH4AJZAVCNFSM6AAAAABAFHSJ5WVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONRTGU2TE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your clarification. What I meant is that before using TIGRE
to generate DRR (Digitally Reconstructed Radiograph) based on the original
CT, I normalized the original image. I used simpleITK to read the CT images
and obtained them in array form. I then performed normalization on the
array representing the CT images. Will this affect the quality of DRR
generation, or should I refrain from normalization?
Biguri ***@***.***> 于2023年12月5日周二 20:08写道:
… I meant literally, have a different image, then it will provide a
different DDR.
try visualizing with
max_val=1000
tigre.plotproj(cfg['train']['projections'], clims=[0, max_val]).
And changing the value of max_val to see if that solves your issue.
—
Reply to this email directly, view it on GitHub
<#510 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX2SV5U4T6KNSQ6AW6UCWDLYH4FFFAVCNFSM6AAAAABAFHSJ5WVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONRTHEYTI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok, thanks.
Biguri ***@***.***> 于2023年12月6日周三 21:59写道:
… I don't know what ITK does for normalization, but if what it does change
the images to [0-1] range, then its fine. The only thing is that your DDR
will ahve a different range. I suggest replying in Github directly rather
than in the automatic emails, as Github supports conversations
—
Reply to this email directly, view it on GitHub
<#510 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX2SV5SC3WITQIGYFX3QXS3YIB25HAVCNFSM6AAAAABAFHSJ5WVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONZWGY2DK>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I have generated numerous CBCT (Cone Beam Computed Tomography) images of knee joints based on examples in Python. However, the skin part in the images is too prominent. I would like to make the skin less visible by adjusting the Hounsfield Unit (HU) values.
"I have generated knee joint images as follows:"
"I would like to generate knee joint images similar to the following:"
Furthermore, I sincerely appreciate your provision of such a powerful open-source tool for us
Beta Was this translation helpful? Give feedback.
All reactions