Skip to main content

calculate_coverage_weight

Function calculate_coverage_weight 

Source
pub fn calculate_coverage_weight(radius: f32, total_points: u32) -> f32
Expand description

Calculate the coverage weight for a pixel position in a ring

This function calculates how many times a pixel gets covered by the sampling pattern based on the radius and angular distance between samples.