[Rtk-users] Ray-tracing through a binary mask image volume

Simon Rit simon.rit at creatis.insa-lyon.fr
Tue Nov 29 14:26:21 CET 2022


Dear Suranga W,
I'm not sure what you expect but I think that the problem is that you're
adding 1000 to your mask in the code. If you removing this "CTarray  +=
1000" line, I see better the liver mask in the projection.
Simon

On Mon, Nov 28, 2022 at 12:13 PM Suranga W <
isurusuranga.wijesinghe at gmail.com> wrote:

> Hi,
>
> I have a CT volume and its corresponding binary mask image volume of the
> liver.
>
> I just want to ray-trace through a binary mask image volume to generate
> mask-projection DRRs.
>
> The DRRs can be sucessfully genrated from the CT volume, but when I passed
> the binary mask volume, I did not get the correct result.
>
> Could anyone please assist me in resolving this problem ?  What kind of
> change should I make to generate these DRRs ?
>
> The code, resulted DRR versions for CT and mask, CT volume and the binary
> mask volume attached herewith for your further reference.
>
>  reference_CT.nii.gz
> <https://drive.google.com/file/d/1p6ODn6gK11v2pU1OmRd-8SyXG5nwzZf6/view?usp=drive_web>
>  reference_liver_binary_mask.nii.gz
> <https://drive.google.com/file/d/1I3J3zUtdgT6ge6kY8EspiPjIqhQi8-eh/view?usp=drive_web>
>
> _______________________________________________
> Rtk-users mailing list
> Rtk-users at public.kitware.com
> https://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/rtk-users/attachments/20221129/e4e1756c/attachment.htm>


More information about the Rtk-users mailing list