TIGRE icon indicating copy to clipboard operation
TIGRE copied to clipboard

Offset redundancy weighting

Open grupesh opened this issue 2 years ago • 9 comments

Added data redundancy weighting necessary for offset detector geometry (as an option) in all algorithms, except MLEM, tested with simulation & real data.. also includes

  • fix in V matrix for more stability
  • additional fix in zeropadding function for geo.COR

grupesh avatar Jun 17 '22 15:06 grupesh

Thanks a lot!

However, the optional parameter should come in as part of varargin as a keyword argument, similar to all the rest of the optional parameters. Can you please put the code there? Let me know if this needs clarifying.

AnderBiguri avatar Jun 17 '22 15:06 AnderBiguri

Will do this in a bit

grupesh avatar Jun 17 '22 15:06 grupesh

changed redundancy weighting to be part of "varargin". Please review and merge

grupesh avatar Jun 24 '22 20:06 grupesh

Hi @grupesh ,

Can I make commits to this branch? I am happy to tackle the reviews myself to add it to TIGRE.

AnderBiguri avatar Jul 05 '22 14:07 AnderBiguri

Sure sure, sorry about the delays on my end..

grupesh avatar Jul 05 '22 14:07 grupesh

@grupesh absolutely no worries! This is a free contribution to an open source software! Thanks a lot !

AnderBiguri avatar Jul 05 '22 14:07 AnderBiguri

Final question/comment: in the wang weigthts in FDK, they are multiplied by 2 in the end. Is there any reason you have not done this in your reundacy_weighting() function? just forgot, or is it better without it?

AnderBiguri avatar Aug 04 '22 10:08 AnderBiguri

I've kept multiplication by 2 in redundancy weighting, same as preweighting2. I think multiplication by 2 is helpful/necessary, in the definition of weights in Wang paper, multiplication factor of 2 is present.

Best, Rupesh

On Thu, Aug 4, 2022, 06:13 Biguri @.***> wrote:

Final question/comment: in the wang weigthts in FDK, they are multiplied by 2 in the end. Is there any reason you have not done this in your reundacy_weighting() function? just forgot, or is it better without it?

— Reply to this email directly, view it on GitHub https://github.com/CERN/TIGRE/pull/376#issuecomment-1205049356, or unsubscribe https://github.com/notifications/unsubscribe-auth/AORSFGDEONVRRPVJTJG5C6LVXOJVVANCNFSM5ZCVVKKQ . You are receiving this because you were mentioned.Message ID: @.***>

grupesh avatar Aug 04 '22 10:08 grupesh

Where is the multiplicatioin happening? I can't see it

AnderBiguri avatar Aug 04 '22 10:08 AnderBiguri

I think this is ready to merge. If you think so too, I will!

Thanks again for the great work.

AnderBiguri avatar Aug 11 '22 12:08 AnderBiguri

Yes, I had forgotten the multiplication by 2 factor, thanks for taking care of that and cleaning up the code. I think it's ready to merge.

grupesh avatar Aug 15 '22 16:08 grupesh

Thanks to you for the hard work @grupesh

AnderBiguri avatar Aug 15 '22 16:08 AnderBiguri