Skip to content

Unable to set/get prior kappa image from STIR-python (matlab) #662

Open
@robbietuk

Description

@robbietuk

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:

recon_obj.get_objective_function().get_prior().set_kappa_sptr(OSEM_image)
recon_obj.get_objective_function().get_prior().get_kappa_sptr()

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions