Core Optical, Inc.
FrequencyDomainUtilities AddSpectra Method (FourierSpectrumBatch, FourierSpectrumBatch, FourierSpectrumBatch)Industrial Strength, Scientific Grade
Adds (pointwise) two FourierSpectrumBatch objects together.

Namespace: PrecisionImage.FrequencyDomainProcessing
Assembly: PrecisionImage (in PrecisionImage.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public void AddSpectra(
	FourierSpectrumBatch spectrumBatch1,
	FourierSpectrumBatch spectrumBatch2,
	FourierSpectrumBatch targetSpectrumBatch
)
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullException Thrown when spectrumBatch1, spectrumBatch2 and/or targetSpectrumBatch are null.
OnlineSystem ArgumentException Thrown when the dimensions of the FourierSpectrumBatch arguments are not identical.
Remarks

Use this method to add (pointwise) two FourierSpectrumBatch objects together. spectrumBatch1 and spectrumBatch2 specify the two spectra to add, while targetSpectrumBatch specifies where the results are written to. targetSpectrumBatch can be the same object as spectrumBatch1 or spectrumBatch2, in which case the original values are overwritten by the result.

See Also