Expand description
Whole-image Duda-Frese Radon response computation.
Computes the dense R(x, y) = (max_α S_α − min_α S_α)² response
over four ray angles using summed-area tables for O(1) per-pixel
ray sums. Optional 2× bilinear upsampling at the entry boosts
accuracy on small chessboard cells.
§SAT element type
Summed-area tables default to i64, which is always safe. Enable
the radon-sat-u32 crate feature to switch to u32, which halves
SAT memory and widens SIMD lanes at the cost of a ~16 MP image-size
cap (255 · W · H ≤ u32::MAX).
Structs§
- Radon
Buffers - Reusable scratch for the whole-image Radon detector. Holds the
upsampled image buffer, the four summed-area tables, the response
map, and the box-blur scratch. All buffers grow on demand and are
reused across frames — same pattern as
PyramidBuffers. - Radon
Detector Params - Configuration for the whole-image Radon detector.
- Radon
Response View - Borrow of the dense working-resolution response map. Cheaply
convertible to a
ResponseMapviaSelf::to_response_mapwhen ownership is required (e.g. for the classicdetect_corners_from_response).
Constants§
- MAX_
IMAGE_ UPSAMPLE - Supported image-upsample factors:
{1, 2}. Anything higher would need a different upsampler; values>= 3are clamped to2at the entry points rather than silently producing mismatched buffer sizes downstream.
Functions§
- radon_
response_ u8 - Compute the dense Radon response into
buffers.responseand return a read-onlyRadonResponseViewat working resolution (i.e.input_dim × image_upsample).
Type Aliases§
- SatElem
- Summed-area-table element type (feature
radon-sat-u32).