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

Tests image-mask generation. More...

Tests image-mask generation.

Definition in file imageMasks_test.cpp.

#include "../../catch2/catch.hpp"
#include <algorithm>
#include <vector>
#include <Eigen/Dense>
#include "../../../include/improc/imageMasks.hpp"
#include "../../../include/improc/eigenImage.hpp"

Go to the source code of this file.

Functions

 TEST_CASE ("Masking wedges in an image", "[improc::imageMasks::maskWedge]")
 TEST_CASE ("rotateMask preserves binary masks through interpolation", "[improc::rotateMask]")
 Verifies mx::improc::rotateMask resizes, rotates, and thresholds binary masks.
 TEST_CASE ("radAngImage produces HCI radius and angle coordinates", "[improc::imageMasks::radAngImage]")
 Verifies radius and degree-angle images for a centered rectangular grid.
 TEST_CASE ("annulusIndices selects bounded and masked HCI regions", "[improc::imageMasks::annulusIndices]")
 Verifies HCI annulus indices for radial, angular, image-boundary, and mask constraints.
 TEST_CASE ("Annulus coordinate wrappers apply radial pixel buffers", "[improc::imageMasks][annulusCoords][pixbuf]")
 Verifies annulusCoords and annulusIndices forward radial pixel buffers to their shared worker.
 TEST_CASE ("Image regions are cut and inserted by linear index", "[improc::imageMasks][imageRegion]")
 Verifies cutImageRegion and insertImageRegion preserve indexed pixel order and resize policy.