[CCPPETMR/SIRF] FBP2D clean-up (#171)

0 views
Skip to first unread message

Kris Thielemans

unread,
May 10, 2018, 1:25:05 PM5/10/18
to CCPPETMR/SIRF, Subscribed

@evgueni-ovtchinnikov, this all works fine. thanks!

Could you rename set_alpha_ramp to set_alpha_cosine_window? Add some doc for the class like:

This is an implementation of the 2D FBP algorithm. 

Oblique angles in data will be ignored. The exception is the span=1 case, where the ring differences +1 and -1 are first combined to give indirect sinograms.

By default, the algorithm uses the ramp filter. An apodizing filter can be added by using set_alpha_cosine_window and/or set_frequency_cut_off. The apodizing filter in frequency space has the form
   (alpha + (1 - alpha) * cos(pi * f / fc))

Add doc to set_alpha_cosine_window

Set alpha in the apodizing filter.

See the class documentation for the filter. alpha should be between 0.5 and 1. alpha=0.5 corresponds to the Hann filter, while 0.54 corresponds to the Hamming filter.

and for set_frequency_cut_off

Set the cut-off frequency for the apodizing filter.

See the class documentation for the filter. fc should be between 0 and 0.5.

Could you then expose this to matlab as well?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

evgueni-ovtchinnikov

unread,
Jun 11, 2018, 8:50:31 AM6/11/18
to CCPPETMR/SIRF, Subscribed

Closed #171 via 887f19a.

Reply all
Reply to author
Forward
0 new messages