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 < [email protected]> 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 > [email protected] > https://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users >
_______________________________________________ Rtk-users mailing list [email protected] https://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users
