mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
imageFilters_test.cpp File Reference

Tests of image filtering and smoothing utilities. More...

Tests of image filtering and smoothing utilities.

Definition in file imageFilters_test.cpp.

#include "../../catch2/catch.hpp"
#include <cmath>
#include <limits>
#include <vector>
#include <Eigen/Dense>
#include "../../../include/improc/imageFilters.hpp"
#include "../../../include/improc/imageUtils.hpp"

Go to the source code of this file.

Functions

 unitTest::improcTest::imageFiltersTest::TEST_CASE ("precalcKernel caches production kernel values", "[improc::precalcKernel]")
 Verify precalcKernel returns the same Gaussian and azimuthal kernels as their production generators.
 unitTest::improcTest::imageFiltersTest::TEST_CASE ("azBoxKernel is finite at centers and neighboring pixels", "[improc::azBoxKernel]")
 Verify azBoxKernel produces finite normalized kernels at image centers and neighboring pixels.
 unitTest::improcTest::imageFiltersTest::TEST_CASE ("azBoxKernel validates widths coordinates and maxAz", "[improc::azBoxKernel]")
 Verify azBoxKernel honors maximum azimuth and validates degenerate configuration values.
 unitTest::improcTest::imageFiltersTest::TEST_CASE ("precalcKernel supports odd even and non-square image centers", "[improc::precalcKernel]")
 Verify precalcKernel handles odd, even, and non-square image centers without invalid cached kernels.
 unitTest::improcTest::imageFiltersTest::TEST_CASE ("precalcKernel propagates errors and validates lookup bounds", "[improc::precalcKernel]")
 Verify precalcKernel propagates generation errors and rejects invalid lookup coordinates.
 unitTest::improcTest::imageFiltersTest::TEST_CASE ("radprofim subtracts a centered radial background", "[improc::radprofim][hciReduce]")
 Verifies the radial-profile subtraction used by HCI preprocessing.
 unitTest::improcTest::imageFiltersTest::TEST_CASE ("radprofim excludes masked pixels", "[improc::radprofim][hciReduce]")
 Verifies that masked pixels are excluded from and preserved by radial-profile subtraction.
 unitTest::improcTest::imageFiltersTest::TEST_CASE ("medianFilterImage handles HCI azimuthal kernels", "[improc::medianFilterImage][hciReduce]")
 Verifies HCI azimuthal median filtering through a precomputed azimuthal kernel.
 unitTest::improcTest::imageFiltersTest::TEST_CASE ("Gaussian filter handles non-square image dimensions", "[improc::imageFilters]")
 Verify that filterImage preserves non-square dimensions with a Gaussian kernel.
 unitTest::improcTest::imageFiltersTest::TEST_CASE ("medianSmooth honors exact odd and even full widths", "[improc::medianSmooth]")
 Verify that medianSmooth uses exactly the configured odd or even square window.
 unitTest::improcTest::imageFiltersTest::TEST_CASE ("medianSmooth validates widths and output dimensions", "[improc::medianSmooth]")
 Verify that medianSmooth rejects invalid dimensions without modifying caller-owned pixels.
 unitTest::improcTest::imageFiltersTest::TEST_CASE ("meanSmooth honors exact even full widths", "[improc::meanSmooth]")
 Verify that meanSmooth uses an exact even-width footprint.
 unitTest::improcTest::imageFiltersTest::TEST_CASE ("vectorSmoothMedian honors exact even full widths", "[math::vectorSmoothMedian]")
 Verify that vectorSmoothMedian uses no more than the configured even width.
 unitTest::improcTest::imageFiltersTest::TEST_CASE ("stddevImage subtracts the annular mean for S/N", "[improc::stddevImage]")
 Verify stddevImage centers the signal using the annular mean before calculating S/N.