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

Tests of image-processing utilities. More...

Tests of image-processing utilities.

Definition in file imageUtils_test.cpp.

#include "../../catch2/catch.hpp"
#include <Eigen/Dense>
#include <limits>
#include <vector>
#include "../../../include/math/func/gaussian.hpp"
#include "../../../include/improc/imageUtils.hpp"
#include "../../../include/improc/eigenCube.hpp"

Go to the source code of this file.

Functions

 TEST_CASE ("Image invalid-pixel detection handles sentinel and nonfinite values", "[improc::isInvalidPixel]")
 Verify image invalid-pixel generation and classification for floating-point values.
 TEST_CASE ("Verify center of light calculation", "[improc::imageCenterOfLight]")
 TEST_CASE ("imageMedian selects valid image samples", "[improc::imageMedian]")
 Verifies masked and unmasked image medians with internal and caller-owned workspaces.
 TEST_CASE ("zeroNaNCube replaces invalid pixels and reports a mask", "[improc::zeroNaNCube]")
 Verify zeroNaNCube replaces invalid cube pixels and records their locations.