OrsForwardProjectorPlugin_272f7600a4d011e996740c9d9276653a

author:

Dragonfly Team, Madeleine Fol

contact:

https://dragonfly.comet.tech

email:

support.dragonfly@comet.tech

organization:

Comet Technologies Canada Inc.

address:

460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7

copyright:

Comet Technologies Canada Inc. All rights reserved 2023.

date:

Jul 12 2019 14:09

dragonflyVersion:

4.5.0.11500

UUID:

272f7600a4d011e996740c9d9276653a

Class Code

class OrsPythonPlugins.OrsForwardProjectorPlugin_272f7600a4d011e996740c9d9276653a.OrsForwardProjectorPlugin_272f7600a4d011e996740c9d9276653a.OrsForwardProjectorPlugin_272f7600a4d011e996740c9d9276653a(*args, **kwargs)
classmethod forwardProjection(inputDataset, projectorEngineInstance, outputDimensionDict, aProgress=None)

Reconstruct a dataset from sinogram data or projections.

Parameters:
  • inputDataset (ORSModel.ors.Channel) – input dataset or reconstruction to be projected

  • projectorEngineInstance (AbstractForwardProjector) – an instance of the used forward projection algorithm class

  • outputDimensionDict (dict) – output dimension dic with the following string keys [size_x, size_y, size_z, spacing_x, spacing_y, spacing_z, origin_x, origin_y, origin_z]

  • aProgress (ORSModel.ors.Progress) – an optional progress bar. Default value is None

Returns:
  • projectionsDataset (ORSModel.ors.Channel) – the stack of projections dataset

  • errorMessage (str) – error details if an error occur

classmethod getMainFormClass()

Gets the class of the main form

Returns:

output

projectionDatasetAndPublish()

Forward projection of the input dataset from the set instance variables. If succeed, the stack of projections will be published.

Returns:
  • succeed (bool) – true if the reconstruction and publish succeed, false otherwise.

  • errorMessage (str) – detail of the error when an error occur.