Back to FabImage Library website

You are here: Start » Function Reference » Computer Vision » Fourier Analysis » FrequencyDomain_FilterFrequencies

FrequencyDomain_FilterFrequencies


Header: FIL.h
Namespace: fil
Module: FoundationPro

Filters the frequencies in a frequency domain image suppressing the elements of too low or too high frequency.

Syntax

C++
C#
 
void fil::FrequencyDomain_FilterFrequencies
(
	const fil::Image& inFrequencyDomainImage,
	const ftl::Optional<float>& inMinFrequency,
	const ftl::Optional<float>& inMaxFrequency,
	fil::Image& outFrequencyDomainImage
)

Parameters

Name Type Range Default Description
Input value
inFrequencyDomainImage const Image& Input image in frequency domain
Input value
inMinFrequency const Optional<float>& 0.0 - NIL Minimum frequency that will be kept
Input value
inMaxFrequency const Optional<float>& 0.0 - NIL Maximum frequency that will be kept
Output value
outFrequencyDomainImage Image& Filtered image in frequency domain

Requirements

For input inFrequencyDomainImage only pixel formats are supported: 2⨯real.

Read more about pixel formats in Image documentation.

Errors

List of possible exceptions:

Error type Description
DomainError Not supported inFrequencyDomainImage pixel format in FrequencyDomain_FilterFrequencies. Supported formats: 2xReal.