|
|
Home | Main Page | Topics | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <ImpactLoss.h>
Normalized Cross Correlation loss over feature vectors.
Computes NCC between fixed and moving features across batches. Derivative is accumulated in static mode using full Jacobian tracking.
Definition at line 479 of file ImpactLoss.h.
Public Member Functions | |
| torch::Tensor | GetDerivative (double N) const override |
| double | GetValue (double N) const override |
| void | initialize (torch::Tensor &output) override |
| NCC () | |
| NCC & | operator+= (const Loss &other) override |
| void | updateValue (torch::Tensor &fixedOutput, torch::Tensor &movingOutput) override |
| void | updateValueAndDerivativeInStaticMode (torch::Tensor &fixedOutput, torch::Tensor &movingOutput, torch::Tensor &jacobian, torch::Tensor &nonZeroJacobianIndices) override |
| torch::Tensor | updateValueAndGetGradientModulator (torch::Tensor &fixedOutput, torch::Tensor &movingOutput) override |
| Public Member Functions inherited from ImpactLoss::Loss | |
| Loss (bool isLossNormalized) | |
| void | reset () |
| void | setNumberOfParameters (int numberOfParameters) |
| void | updateDerivativeInJacobianMode (torch::Tensor &jacobian, torch::Tensor &nonZeroJacobianIndices) |
| virtual | ~Loss ()=default |
Private Attributes | |
| torch::Tensor | m_Sdm |
| torch::Tensor | m_Sf |
| torch::Tensor | m_Sfdm |
| torch::Tensor | m_Sff |
| torch::Tensor | m_Sfm |
| torch::Tensor | m_Sm |
| torch::Tensor | m_Smdm |
| torch::Tensor | m_Smm |
Additional Inherited Members | |
| Protected Attributes inherited from ImpactLoss::Loss | |
| torch::Tensor | m_Derivative |
| bool | m_Initialized = false |
| int | m_NumberOfParameters |
| double | m_Value |
|
inline |
Definition at line 486 of file ImpactLoss.h.
|
inlineoverridevirtual |
Reimplemented from ImpactLoss::Loss.
Definition at line 580 of file ImpactLoss.h.
Reimplemented from ImpactLoss::Loss.
Definition at line 569 of file ImpactLoss.h.
|
inlineoverridevirtual |
Reimplemented from ImpactLoss::Loss.
Definition at line 491 of file ImpactLoss.h.
Reimplemented from ImpactLoss::Loss.
Definition at line 598 of file ImpactLoss.h.
|
inlineoverridevirtual |
Implements ImpactLoss::Loss.
Definition at line 505 of file ImpactLoss.h.
|
inlineoverridevirtual |
Reimplemented from ImpactLoss::Loss.
Definition at line 516 of file ImpactLoss.h.
|
inlineoverridevirtual |
Implements ImpactLoss::Loss.
Definition at line 538 of file ImpactLoss.h.
|
private |
Definition at line 483 of file ImpactLoss.h.
|
private |
Definition at line 482 of file ImpactLoss.h.
|
private |
Definition at line 483 of file ImpactLoss.h.
|
private |
Definition at line 482 of file ImpactLoss.h.
|
private |
Definition at line 482 of file ImpactLoss.h.
|
private |
Definition at line 482 of file ImpactLoss.h.
|
private |
Definition at line 483 of file ImpactLoss.h.
|
private |
Definition at line 482 of file ImpactLoss.h.
Generated on 1774142652 for elastix by 1.15.0 |