-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set/get prior kappa image from STIR-python (matlab) #662
Comments
Apolgies, it is possible to create a new a prior with the kappa image using
Yet it remains impossible to change |
it would certainly be possible to have a voxel-dependent weight for all priors. The original "kappa" is a specific way to do that that only applies to cases where the prior is a sum of pair-wise priors i.e.
with usually
with usually This wouldn't be applicable/appropriate to all priors I guess (especially non-local-means type of things). In that case, you'd have something like
(taking all of the image). This is what we assumed in Tsai's paper. Enabling this would be part of a long-overdue clean-up of the |
yes, this is because currently we cannot downcast in Python. We have a similar problem for the objective functions, but added a Lines 1601 to 1607 in aae4c92
Downcasting via SWIG should be possible though #284 |
To some extent this implies that we should not move the relevant methods into I agree, this will need to be further thought through when the clean up happens. |
Performing image reconstruction using STIR-python. After one iteration of OSEM, I would like to use the latest image as the kappa image for the prior. This should work something like this:
The question is, can this be added to
GeneralisedPrior.h
and therefore exposed, or is there a prior that does not support the kappa methodology? It seems to work with PLS, RDP, QP, (log-cosh)The text was updated successfully, but these errors were encountered: