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: (

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

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

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