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

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.

Function Documentation

◆ TEST_CASE() [1/6]

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.

Definition at line 264 of file imageMasks_test.cpp.

References mx::improc::annulusCoords(), mx::improc::annulusIndices(), and mx::improc::radAngImage().

◆ TEST_CASE() [2/6]

TEST_CASE ( "annulusIndices selects bounded and masked HCI regions" ,
"" [improc::imageMasks::annulusIndices] )

Verifies HCI annulus indices for radial, angular, image-boundary, and mask constraints.

Definition at line 226 of file imageMasks_test.cpp.

References mx::improc::annulusIndices(), and mx::improc::radAngImage().

◆ TEST_CASE() [3/6]

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.

Definition at line 330 of file imageMasks_test.cpp.

References mx::improc::cutImageRegion(), and mx::improc::insertImageRegion().

◆ TEST_CASE() [4/6]

TEST_CASE ( "Masking wedges in an image" ,
"" [improc::imageMasks::maskWedge] )

Masking wedges in an image

Verify wedge masking, including that all pixels are masked for continuous rotations of the wedge

Definition at line 29 of file imageMasks_test.cpp.

References mx::improc::maskWedge().

◆ TEST_CASE() [5/6]

TEST_CASE ( "radAngImage produces HCI radius and angle coordinates" ,
"" [improc::imageMasks::radAngImage] )

Verifies radius and degree-angle images for a centered rectangular grid.

Definition at line 198 of file imageMasks_test.cpp.

References mx::improc::radAngImage().

◆ TEST_CASE() [6/6]

TEST_CASE ( "rotateMask preserves binary masks through interpolation" ,
"" [improc::rotateMask] )

Verifies mx::improc::rotateMask resizes, rotates, and thresholds binary masks.

Definition at line 175 of file imageMasks_test.cpp.

References mx::math::half_pi().