OrsForwardProjectorPlugin_272f7600a4d011e996740c9d9276653a

author:ORS Team, Madeleine Fol
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7
copyright:Object Research Systems (ORS), Inc. All rights reserved 2021.
date:Jul 12 2019 14:09
dragonflyVersion:
 4.5.0.11500
UUID:272f7600a4d011e996740c9d9276653a

Class Code

class OrsPythonPlugins.OrsForwardProjectorPlugin_272f7600a4d011e996740c9d9276653a.OrsForwardProjectorPlugin_272f7600a4d011e996740c9d9276653a.OrsForwardProjectorPlugin_272f7600a4d011e996740c9d9276653a(varname=None)
classmethod OrsReconstruction_openToolbox()
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
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 getAvailableForwardProjectorClassList()
getInputChannel()
classmethod getMainFormClass()

Gets the class of the main form

Returns:output
getNbOfProjections()
getOutputDimensionDict()
getOutputDimensionsAsVisualBox()
getProjectorEngineInstance()
getUseCustomDimension()
keepAlive = False
messageToShow()
multiple = False
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.
savable = False
setInputChannel(aChannel: ORSModel.ors.Channel)
setNbOfProjections(aNbOfProjections)
setOutputDimensionDict(aDict)
setOutputDimensionsFromVisualBox(aVisualBox: ORSModel.ors.VisualBox)
setProjectorEngineInstance(aClass: OrsPythonPlugins.OrsForwardProjectorPlugin_272f7600a4d011e996740c9d9276653a.algorithm.abstractforwardprojector.AbstractForwardProjector)
setUseCustomDimension(aBool)
classmethod toolsMenu()