[CCPPETMR/Hackathon-SIRF] Convert SPDHG to CIL optimization (#1)

0 views
Skip to first unread message

Matthias J. Ehrhardt

unread,
Jul 26, 2018, 11:41:27 AM7/26/18
to CCPPETMR/Hackathon-SIRF, Subscribed

use A(x) <=> A.direct(x)
use A.adjoint(x, out=y) <=> y = A.adjoint(x)
use f.proximal(tau)(x) <=> f.prox(x, tau)
f.convex_conj <=> f_cvx


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

Matthias J. Ehrhardt

unread,
Jul 27, 2018, 3:13:49 PM7/27/18
to CCPPETMR/Hackathon-SIRF, Subscribed

This has been implemented by 53453fe. The code is not really documented nor well written. Moreover, there are several examples missing. Finally, the more code is needed to add regularization to it, for example from CCPi.

Edoardo Pasca

unread,
Jul 29, 2018, 5:09:20 PM7/29/18
to CCPPETMR/Hackathon-SIRF, Subscribed

I guess we could add proximal rather than prox and it's a good idea to add out=y.

Edoardo Pasca

unread,
Jul 29, 2018, 5:10:48 PM7/29/18
to CCPPETMR/Hackathon-SIRF, Subscribed

I added the CIL optimisation and regularisation to SIRF SuperBuild CCPPETMR/Hackathon-SIRF-SuperBuild#1

Matthias J. Ehrhardt

unread,
Jul 30, 2018, 4:47:48 AM7/30/18
to CCPPETMR/Hackathon-SIRF, Subscribed

I guess we could add proximal rather than prox and it's a good idea to add out=y.

@paskino, yes, that would be a good idea! This way CIL is also more compatible to ODL which might turn out to be useful at some point.

Edoardo Pasca

unread,
Jul 30, 2018, 10:37:59 AM7/30/18
to CCPPETMR/Hackathon-SIRF, Subscribed

Kris Thielemans

unread,
Jul 30, 2018, 7:02:12 PM7/30/18
to CCPPETMR/Hackathon-SIRF, Subscribed

@mehrhardt could you create an issue in SIRF (not hackathon) with where the out syntax is needed? It could be initially done as a work-around (for compatibility), but for PET it should be easy.

Please also say what out is supposed to do. should it check if sizes etc are as expected? What to do if they're not? Should it overwrite or add to existing data?

Possibly point us to the ODL doc, or we can get some ODL people involved.

Matthias J. Ehrhardt

unread,
Jul 31, 2018, 9:40:53 AM7/31/18
to CCPPETMR/Hackathon-SIRF, Subscribed

Matthias J. Ehrhardt

unread,
Oct 18, 2018, 6:55:50 AM10/18/18
to CCPPETMR/Hackathon-SIRF, Subscribed

This issue can be closed as 5efd25a completes its implementation and simple example showing its usage. However, all code for SPDHG is far from tidied up and should be included at appropriate places in SIRF and/or CIL. It might be best to create a new issue for this.

Reply all
Reply to author
Forward
0 new messages