Core Optical, Inc.
FrequencyDomainUtilities DivideSpectra Method (FourierSpectrumBatch, FourierSpectrumBatch, FourierSpectrumBatch)Industrial Strength, Scientific Grade
Divides (pointwise) one FourierSpectrumBatch by another.

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

public void DivideSpectra(
	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 divide (pointwise) one spectrum by another and retrieve the result. The spectrum to divide is contained in spectrumBatch1, while the denominator spectrum is spectrumBatch2. The result is stored in targetSpectrumBatch. targetSpectrumBatch can be the same object as spectrumBatch1 or spectrumBatch2, in which case the original values are overwritten by the result.

If the denominator is zero at a particular frequency, the result is assigned a value of zero.

See Also