OpenGL-accelerated 2D-3D registration for cone-beam projections.
GPU-based implementation of intensity-based 2D-3D registration.
|
|
| Gl2D3DRegistration (SharedImageSet *data, GlConeBeamForward *fw) |
| | Constructor requiring cone-beam data and forward projector.
|
| |
|
| Gl2D3DRegistration (SharedImageSet *data, SharedImageSet *vol) |
| | Constructor with cone-beam data and volume.
|
| |
|
| ~Gl2D3DRegistration () override |
| | Destructor deleting auxiliary data.
|
| |
| void | setDrrZeroMask (bool flag, int frame=-1) |
| | If true, zero intensities in the DRR will be ignored by the similarity measure.
|
| |
|
void | setLocalSimilarityImage (bool flag) |
| | Specify whether a local similarity image shall be computed for the focus frame (LNCC mode only)
|
| |
|
void | setPosePenalty (const std::function< double(int n, const double *x)> &penaltyFunction) |
| | Set an optional penalty function on the pose parameters.
|
| |
|
const std::function< double(int n, const double *x)> & | posePenalty () |
| | Retrieve the optional penalty function on the pose parameters.
|
| |
|
void | setWeightImages (const std::vector< SharedImage * > &images) |
| | Set optional images to use as pixel-wise weighting of the similarity measure for each frame.
|
| |
|
const std::vector< SharedImage * > & | weightImages () |
| | Access weight images.
|
| |
|
SimilarityMeasureWrapper & | similarityMeasure () |
| | Access the similarity measure to set parameters.
|
| |
|
void | similarityMeasureChanged () const |
| | Inform all AlgorithmListener that the similarityMeasure has changed.
|
| |
|
void | reset () |
| | Reset transformations to state before registration.
|
| |
|
void | resetOrigParams () |
| | Fetch current params from m_data and set m_origParams to a copy of m_data->geometry()
|
| |
|
const ConeBeamGeometry & | origPars () |
| | Retrieve saved copy of the original parameters.
|
| |
| std::shared_ptr< Optimizer > | createDefaultOptimizer () const override |
| | Create suited optimizer depending on parameter mode.
|
| |
|
double | evaluate () |
| | Directly evaluate selection without manipulating CBCT geometry.
|
| |
| double | evaluate (int n, const double *x, double *dx=0) override |
| | Evaluate the cost function.
|
| |
| SharedImageSet * | drr (int frame=-1) |
| | Return the rendered DRR (owned by this class).
|
| |
|
int | numDRRs () |
| | Return the number of DRR images managed by this class.
|
| |
|
SharedImageSet * | similarityImage () |
| | Return the last computed local similarity map if available (owned here, LNCC mode only)
|
| |
| SharedImageSet * | computeDrr (int frame) |
| | Compute DRR for chosen frame and return it The image returned is owned by this class, it is using the same instance for all frames.
|
| |
| SharedImageSet * | computeDrr (int frame, const mat4 &matrix, bool invert=false) |
| | Compute DRR for chosen frame using the given iso matrix and return it.
|
| |
|
SharedImageSet * | data () |
| | Return pointer to the used cone-beam data.
|
| |
|
const std::vector< mat4 > & | relativeMatrices () const |
| | Access to the relative transformation matrices after optimization.
|
| |
|
SequentialMotion & | seqMotion () |
| | Access to the sequential motion class.
|
| |
| void | resetInternalSimilarityImage2 () |
| | Resets the projection image of the internal similarity measure.
|
| |
| | GeometryGeneratorOptimizingAlgorithm (SharedImageSet *data) |
| | Constructor.
|
| |
|
void | setOptimizer (std::shared_ptr< Optimizer > opt) |
| | Set an optimizer from outside.
|
| |
|
std::shared_ptr< Optimizer > | optimizer () |
| | Returns the current optimizer.
|
| |
| void | configure (const Properties *p) override |
| | Configures the optimizer from a sub-property if available.
|
| |
| void | configuration (Properties *p) const override |
| | Stores the optimizer configuration into a sub-property.
|
| |
| | Algorithm () |
| | Default constructor will registers a single "compute" action that calls compute() and returns status().
|
| |
| virtual void | setProgress (Progress *progress) |
| | Sets a Progress interface the algorithm can use to notify observers about its computing progress.
|
| |
|
Progress * | progress () const |
| | Returns the progress interface if set.
|
| |
| virtual int | status () const |
| | Indicates the status of the last call to compute().
|
| |
| virtual bool | survivesDataDeletion (const Data *) const |
| | Indicates whether the algorithm can handle (partial) deletion of the specified data, by default this checks whether the data is in the input list.
|
| |
| const FactoryInfo & | factoryInfo () const |
| | Returns the record describing how this Algorithm was instantiated by the AlgorithmFactory.
|
| |
|
void | setFactoryInfo (const FactoryInfo &value) |
| | Sets the record describing how this Algorithm was instantiated by the AlgorithmFactory.
|
| |
| Status | runAction (const std::string &id) |
| | Run the action with name id if it exists.
|
| |
|
const std::vector< Action > & | actions () |
| | Get a mapping from Action id to Action as registered in this algorithm.
|
| |
| virtual void | configureDefaults () |
| | Retrieve the properties of this object, replaces values with their defaults and sets it again.
|
| |
|
void | registerParameter (ParameterBase *param) |
| | Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
|
| |
|
void | unregisterParameter (const ParameterBase *param) |
| | Remove the given Parameter or SubProperty from the list of registered parameters.
|
| |
|
| Configurable (const Configurable &rhs) |
| |
|
| Configurable (Configurable &&rhs) noexcept |
| |
|
Configurable & | operator= (const Configurable &) |
| |
|
Configurable & | operator= (Configurable &&) noexcept |
| |
|
| SignalReceiver ()=default |
| | Default constructor.
|
| |
|
| SignalReceiver (const SignalReceiver &other) |
| | Copy constructor, does not copy any existing signal connections from other.
|
| |
|
SignalReceiver & | operator= (SignalReceiver rhs) |
| | Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs.
|
| |
|
virtual | ~SignalReceiver () |
| | Virtual destructor disconnects from all connected signals.
|
| |
|
|
Signal< const SharedImageSet * > | signalDrrDeleted |
| | This gets called before a stored DRR image is deleted. The argument is the DRR image.
|
| |
|
Signal | signalWeightsChanged |
| | This signal is emitted whenever the weights are changed.
|
| |
|
Parameter< ParameterMode > | p_parameterMode = {"parameterMode", ParameterMode::Detector, this} |
| | Mode of parameters to use.
|
| |
|
Parameter< DRRMode > | p_drrMode = {"drrMode", DRRMode::Masked, this} |
| | Whether to compute DRR only in masked regions.
|
| |
|
Parameter< bool > | p_useVolumeMatrix = {"useVolumeMatrix", false, this} |
| | If true, the volume transformation will be considered.
|
| |
|
Parameter< bool > | p_projMask = {"projMask", false, this} |
| | Speeds up DRR rendering by considering projection mask.
|
| |
|
Parameter< bool > | p_drrMask = {"drrMask", false, this} |
| | Flag for using a zero-intensity mask on the DRR.
|
| |
|
Parameter< bool > | p_halfResolution = {"halfResolution", false, this} |
| | Use DRR with half resolution of reference.
|
| |
|
Parameter< bool > | p_singleFrame = {"singleFrame", false, this} |
| | Only register a single frame at a time.
|
| |
|
Parameter< bool > | p_multipleDRRs = {"multipleDRRs", false, this} |
| | Whether to use individual DRRs per frame.
|
| |
|
Parameter< std::string > | p_generatorId = {"generatorId", "none", this} |
| | Id of the generator to install.
|
| |
|
Parameter< bool > | p_sequentialMode = {"sequentialMode", false, this} |
| | Whether to optimize the parameters of frames sequentially.
|
| |
|
Signal | signalOutputChanged |
| | Signal should be emitted by Algorithms when their output/result has changed.
|
| |
|
Signal | signalParametersChanged |
| | Signal should be emitted by Algorithms when their parameter configuration has changed.
|
| |
|
Signal | signalParametersChanged |
| | Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
|
| |