Expand description
Browser-agnostic temporal visual analysis contracts.
Macros§
Structs§
- Algorithm
Descriptor - Named and versioned artifact algorithm.
- Artifact
Labels - Required human-readable labels placed on every artifact.
- Artifact
Manifest - Reproducible machine-readable provenance for one generated artifact.
- Binary
Mask - A full-frame row-major, MSB-first, one-bit-per-pixel mask.
- Changed
Pixel Proportion - Exact changed and compared pixel counts.
- Declared
Gap - A caller-declared interval for which visual continuity is unknown.
- Difference
MapLimits - Working-memory and output bounds for one difference-map request.
- Difference
MapParameters - Deterministic choices for one temporal difference map.
- Encoded
Image - One deterministic encoded image held entirely in memory.
- Filmstrip
Tile Limit - Maximum number of crops shown in one filmstrip.
- Filmstrip
Tile Plan - Everything needed to render one chronological fixed-region tile.
- Finite
Number - A finite deterministic floating-point parameter.
- Frame
- A validated decoded frame using caller-owned identity and pixel storage.
- Frame
Comparison - Direct comparison metadata for two normalized frames.
- Frame
Region - A rectangle validated against one source-frame geometry.
- Frame
Sequence - An immutable, validated sequence in one coordinate space and clock.
- Generated
Artifact - Encoded artifact bytes and the provenance that describes those exact bytes.
- Generator
Descriptor - Authoritative name/version descriptor for one generated artifact family.
- Integer
Scale - A bounded whole-number image scale.
- Marker
- A caller-defined annotation on the sequence timeline.
- Measurement
Parameters - Deterministic threshold settings for direct frame comparisons.
- Measurement
Vector - Thresholded direct visual-change aggregates for one frame pair.
- Motion
Decay - One deterministic integer exponential-decay curve over pair recency rank.
- Motion
History Parameters - Fixed source-derived choices for one motion-history artifact.
- Motion
History Plan - Render-independent result of deterministic gap-aware motion accumulation.
- Normalization
Parameters - Fixed normalization choices for one common-geometry sequence.
- Normalization
Step - One ordered normalization operation included in provenance.
- Normalized
Frame - One source frame represented as tightly packed opaque linear-light RGB16.
- Normalized
Sequence - An immutable normalized geometry epoch and its transformed analysis domain.
- Omitted
Anchor - An available required or boundary anchor displaced by the hard tile budget.
- Output
Hash - SHA-256 of the exact encoded bytes returned for an artifact.
- Padding
Insets - Missing source-image edges retained as explicit padding in unscaled pixels.
- Pair
Change Masks - Bit-packed changed-pixel masks aligned with adjacent-pair comparison indexes.
- Parameters
- Artifact parameters with deterministic lexicographic object ordering.
- Pixel
Dimensions - Non-zero source-frame pixel dimensions.
- Pixel
Rect - A non-empty half-open rectangle in source-frame pixel coordinates.
- Processing
Limits - Explicit bounds for one normalization result.
- Rational
Scale - A positive exact rational scale in source pixels per declared coordinate unit.
- Region
Filmstrip Artifact - Encoded filmstrip evidence, provenance, and its reusable fixed-region plan.
- Region
Filmstrip Labels - Required title and source context drawn onto a region filmstrip.
- Region
Filmstrip Parameters - Complete deterministic request for one fixed-region filmstrip.
- Region
Filmstrip Plan - Reusable, deterministic fixed-region selection and crop plan.
- Region
Filmstrip Render Limits - Processing and output ceilings for one region-filmstrip generation request.
- Render
Limits - Explicit raster and encoded-output ceilings for one generation request.
- Rgb8
- An sRGB background used to make straight-alpha input pixels opaque.
- Selected
Frame - One selected source frame and every unique reason assigned to it.
- Shared
Adjacent Analysis - Canonical adjacent-pair classification shared by artifact consumers.
- Signed
Pixel Rect - A non-empty half-open rectangle whose origin may lie outside the source image.
- Storyboard
Artifacts - Storyboard, optional orientation composite, and their shared selection plan.
- Storyboard
Parameters - Complete deterministic storyboard request.
- Storyboard
Selection - Reusable deterministic source-frame plan shared by storyboard renderers.
- Storyboard
Tile Limit - Hard maximum number of storyboard source panels.
- Storyboard
Visual Summary - Direct moments already measured while constructing one storyboard selection.
- Time
Range - Inclusive range in a caller-declared sequence clock.
- Timestamp
- Nanoseconds in one caller-declared sequence clock.
- Tracked
Filmstrip Parameters - Parameters for a filmstrip whose crop follows a recorded region per frame.
- Tracked
Region - A fixed-size crop location for one source frame.
- Viewport
Mapping - Caller-declared mapping from viewport units to source-image pixels.
- Vision
Error - Infrastructure-neutral validation error.
- Visual
Change Moment - One authoritative visual-change decision retained from selector measurements.
Enums§
- Artifact
Kind - Stable visual artifact family.
- Comparison
Outcome - Whether a comparison is measurable or crosses declared missing evidence.
- Error
Code - Stable machine-readable classification for contract validation failures.
- Evidence
Class - Relationship between an output and source observations.
- Frequency
Mode - Quantity encoded as brightness in the change-frequency panel.
- Normalization
Kind - Stable source-derived normalization operation.
- Parameter
Value - Recursive, tagged parameter value with deterministic object ordering.
- Pixel
Format - Decoded pixel representation accepted by this crate.
- Region
Coordinate Space - Coordinate space in which a fixed filmstrip region was declared.
- Region
Definition - One fixed region declaration. Neither variant implies logical-element tracking.
- Selection
Reason - Stable descriptive reason why a source frame appears in a storyboard.
- Sequence
Consumption - How a generator consumes the sequence it was handed.
- Time
Palette - Deterministic palette used by the change-timing panel.
Functions§
- analyze_
adjacent_ pairs - Classify every adjacent pair once, optionally retaining changed-pixel masks for reducers.
- build_
motion_ history_ plan - Build a bounded motion-history plan without rendering or encoding an image.
- build_
motion_ history_ plan_ with_ analysis - generate_
motion_ history - Render and encode one deterministic, bounded, source-derived motion-history image.
- generate_
motion_ history_ with_ analysis - generate_
region_ filmstrip - Generate one deterministic source-derived fixed-region filmstrip.
- generate_
storyboard - Generate the primary storyboard and, when requested, its orientation composite.
- generate_
storyboard_ with_ analysis - generate_
tracked_ region_ filmstrip - Generate a per-frame moving crop. All tiles share the first union crop for normalization, while their plans retain their own source rectangle/padding.
- generator_
descriptor - One registry drives both generated manifests and callers’ pre-generation cache keys.
- measure_
adjacent - Measure every adjacent captured-frame pair in declaration order.
- measure_
pair - Measure one ordered pair of normalized frames.
- normalize_
sequence - Normalize one validated source geometry epoch.
- plan_
region_ filmstrip - Resolve one fixed region and select a bounded chronological set of source frames.
- render_
difference_ map - Render one deterministic, source-derived temporal difference map.
- render_
difference_ map_ with_ analysis - select_
indices - Select a deterministic, evenly spaced chronological subset including both endpoints.
- select_
storyboard_ frames - Select representative source frames using the temporal-storyboard 1.1.0 rules.
- select_
storyboard_ frames_ with_ analysis
Type Aliases§
- Borrowed
Frame - Borrowed
Frame Sequence - Difference
MapArtifact - Difference-map artifact using the crate-wide encoded-image and manifest seam.
- Motion
History Artifact - Encoded motion-history evidence and its machine-readable provenance.
- Owned
Frame - Owned
Frame Sequence - Result