Skip to main content

Module magnification

Module magnification 

Source
Expand description

Eulerian Video Magnification (excellence-grade TODO-EVM1).

Building blocks: Gaussian/Laplacian pyramid, temporal IIR band-pass, YIQ colour EVM, multi-scale motion EVM, SNR abstain, consent gate.

Re-exports§

pub use colour_evm_yiq::colour_evm_yiq;
pub use colour_evm_yiq::ColourEvmParams;
pub use eulerian_color_magnify::eulerian_color_magnify;
pub use eulerian_color_magnify::eulerian_color_magnify_ex;
pub use eulerian_motion_magnify::eulerian_motion_magnify;
pub use eulerian_motion_magnify::eulerian_motion_magnify_ex;
pub use eulerian_motion_magnify::MotionEvmParams;
pub use evm_snr_gate::band_energy_snr;
pub use evm_snr_gate::energy_ms;
pub use evm_snr_gate::evm_snr_gate;
pub use evm_snr_gate::evm_snr_gate_energies;
pub use evm_snr_gate::evm_snr_gate_trace;
pub use evm_snr_gate::EvmRefuse;
pub use evm_snr_gate::EvmSnrVerdict;
pub use evm_snr_gate::DEFAULT_EVM_MIN_SNR;
pub use evm_with_consent::eulerian_color_magnify_consented;
pub use evm_with_consent::eulerian_motion_magnify_consented;
pub use gaussian_pyramid_build::gaussian_pyramid_build;
pub use gaussian_pyramid_build::gaussian_pyramid_scratch_elems;
pub use gaussian_pyramid_build::PyramidLevelMeta;
pub use gaussian_pyramid_build::MAX_PYRAMID_LEVELS;
pub use gaussian_pyramid_level::gaussian_pyramid_down_u8;
pub use laplacian_pyramid_build::laplacian_pyramid_build;
pub use pyramid_reconstruct::pyramid_reconstruct;
pub use temporal_bandpass::bandpass_step;
pub use temporal_bandpass::design_bandpass_iir;
pub use temporal_bandpass::temporal_bandpass_planes;
pub use temporal_bandpass::temporal_bandpass_series;
pub use temporal_bandpass::BandpassIir;
pub use temporal_bandpass::LowpassAlpha;
pub use temporal_bandpass_iir::temporal_bandpass_iir;
pub use temporal_bandpass_iir::BandpassState;

Modules§

colour_evm_yiq
Colour Eulerian magnification in YIQ-class chrominance (I/Q), not raw RGB.
eulerian_color_magnify
Eulerian colour magnification — thin public API over YIQ-class excellence path.
eulerian_motion_magnify
Eulerian motion magnification — multi-scale spatial (Laplacian) × temporal band × α.
evm_snr_gate
SNR / band-energy gate for EVM — abstain rather than invent magnification.
evm_with_consent
Consent-gated EVM entry points — fail closed without BiosenseConsent::may_process.
gaussian_pyramid_build
Gaussian image pyramid (caller-buffered levels, fixed max depth).
gaussian_pyramid_level
One Gaussian pyramid downsample (2×) into caller buffer.
laplacian_pyramid_build
Laplacian pyramid from a packed Gaussian pyramid (caller-buffered).
pyramid_reconstruct
Reconstruct an image from a Laplacian pyramid (caller-buffered).
temporal_bandpass
Temporal band-pass (difference of two 1st-order IIR low-pass filters).
temporal_bandpass_iir
Second-order IIR band-pass on a scalar time series (cold/Tier-2 OK for Vec-free caller buffers).

Functions§

eulerian_color_magnify_hz
Colour EVM with explicit sample rate and band (Hz).
eulerian_motion_magnify_hz
Motion EVM with explicit sample rate and band (Hz).