smlm-renderer 0.13.0

Render a list of localisations with a gaussian based on the uncertainty
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::{DataType, Properties};

use smlm_imp::OwnedImage;

pub use self::integral_renderer::{IntegralPatchRenderer};
pub use self::single_point_patch_renderer::{SinglePointPatchRenderer};

mod integral_renderer;
mod single_point_patch_renderer;

pub trait RenderPolicy<L>
{
    type Output;
    type Error;
    fn render(&self, localisation: L, image: &mut OwnedImage<DataType>, properties: &Properties) -> Result<Self::Output, Self::Error>;
}