VIDEO SEQUENCE ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Computer Vision Entities
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/computer-vision-entities/video-sequence-ontology.html
SOURCE AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE COPYRIGHT: © Mark Anthony Higgins, 11 October 2025
SOURCE REVISION: 01 August 2026
FORMALISATION: Companion interpretation; the full underlying specification is not visible in the accessible HTML. The rules below are proposed and are not a verified transcription of the embedded source.
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/computer-vision-entities/video-sequence-ontology.html
LANGUAGE: en-GB
1. PURPOSE
Represent a video sequence as a temporally ordered set of frames and associated observations, with explicit timing, provenance, continuity, derived features, and uncertainty.
2. ENTITIES
VideoSequence V; VideoFrame F_i; Timestamp t_i; Duration D; FrameRate r; ImageRegion R_i; VisualObject O_i; MotionField M_i; Track T_j; Event E_k; Source P; Confidence C; Boundary B; Knowledge K.
3. STATE MODEL
S_i = (I_i, R_i, B_i, K_i)
I_i = observed frame data, timestamps and metadata available at step i.
R_i = relations among frames, regions, objects, tracks and events.
B_i = temporal, spatial, quality, privacy and computational constraints.
K_i = validated contextual and semantic knowledge.
V = (F_0, F_1, ..., F_(n-1)), n >= 1.
F_i = (image_i, t_i, metadata_i, provenance_i).
4. FLOW ALGEBRA
E_i = expand(I_i, R_i)
A_i = {x in E_i : satisfies(x, B_i)}
x*_i = argmax_(x in A_i) P(x | I_i, R_i, B_i, K_i)
I_(i+1) = update(I_i, x*_i, evidence_i)
K_(i+1) = validate_and_merge(K_i, x*_i, evidence_i)
Where A_i is empty, abstain or request additional evidence; argmax is undefined.
5. TEMPORAL RULES
For a forward-playback sequence, t_(i+1) >= t_i.
Delta_t_i = t_(i+1) - t_i.
If timestamps are missing, infer time only when a reliable frame-rate or clock mapping is documented; mark inferred values.
If a constant frame rate r > 0 is verified: t_i = t_0 + i/r.
For variable-frame-rate material, use per-frame timestamps rather than assuming constant spacing.
Sequence duration depends on the timebase and frame exposure/display intervals; t_last - t_first alone need not equal total display duration.
6. FRAME RELATIONSHIPS
precedes(F_i, F_j) iff t_i < t_j in a common verified timebase.
adjacent(F_i, F_(i+1)) iff no indexed frame occurs between them.
contains(V, F_i) for all i in [0, n-1].
derivedFrom(feature_i, F_i) when provenance supports extraction.
tracksAcross(T_j, F_i, F_k) only where temporal association is supported.
7. MOTION AND EVENTS
M_i = estimate_motion(F_i, F_(i+1), calibration, Delta_t_i).
If Delta_t_i <= 0, do not compute physical velocity from displacement / Delta_t_i.
E_k = detect_event({F_i}, {M_i}, K, B).
Apparent image motion is not necessarily physical object motion; camera motion, occlusion and scene changes may explain it.
8. VALIDATION
VALID(V) requires: n >= 1; decodable frames; coherent indexing; a documented timebase; and provenance for any asserted derived fact.
Flag missing or duplicate timestamps, dropped frames, corrupted imagery, incompatible coordinate systems, discontinuities and uncertain synchronisation.
Do not silently interpolate absent frames or assert identities without evidence.
Confidence scores require calibration before interpretation as probabilities.
9. INFERENCE RULES
IF sequential frames show consistent appearance and feasible motion, THEN propose a track with an uncertainty annotation.
IF an abrupt scene discontinuity is detected, THEN propose a shot boundary; do not automatically label it a real-world event.
IF evidence is ambiguous, THEN retain multiple hypotheses or abstain.
IF frames are temporally aligned with other modalities, THEN allow cross-modal fusion subject to verified synchronisation.
10. TRI-MAPPING
Entity: VideoSequence -> Mathematical: ordered indexed family -> Computational: frame collection with timestamps.
Entity: VideoFrame -> Mathematical: sampled image function -> Computational: decoded image array.
Entity: MotionField -> Mathematical: vector field -> Computational: optical-flow estimate.
Entity: Track -> Mathematical: time-indexed state trajectory -> Computational: associated detections.
Entity: Event -> Mathematical: temporal interval or transition -> Computational: event hypothesis.
11. RELATIONSHIP GRAPH
VideoSequence --contains--> VideoFrame
VideoFrame --hasTimestamp--> Timestamp
VideoFrame --contains--> ImageRegion
ImageRegion --supports--> VisualObject
VideoFrame pair --supports--> MotionField
VisualObject observations --associateInto--> Track
Tracks and motion --support--> Event
All derived entities --retain--> Provenance and Confidence
12. EXECUTION DIAGRAM
[Acquire sequence]
|
[Decode frames and metadata]
|
[Validate timebase and order] -- invalid --> [Flag / repair only with evidence]
|
[Extract visual features]
|
[Estimate temporal correspondences]
|
[Construct tracks and events]
|
[Validate against constraints and provenance]
|
[Publish qualified sequence representation]
13. MAPPING TABLE
Input frames | VideoFrame | Image tensor and metadata | Decode and validate
Timing | Timestamp | Ordered temporal index | Align and check
Motion | MotionField | Displacement vector field | Estimate with uncertainty
Object persistence | Track | Temporal association | Validate continuity
Scene change | Event | Boundary hypothesis | Corroborate
14. CONDITIONAL EXECUTION GUARANTEE
Given valid input, explicitly specified operators and satisfied preconditions, each deterministic validation step has a reproducible result. No guarantee is made that learned detection, recognition or event inference is correct. Failed preconditions trigger a reported failure or abstention rather than an invented output.
15. AI SEARCH FLOW
FLOW_NAME: VideoSequenceOntology
VERSION: 1.0-companion
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI (source attribution)
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/computer-vision-entities/video-sequence-ontology.html
PURPOSE: Retrieve, align, interpret and validate video-sequence entities.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: VideoSequence, VideoFrame, Timestamp, MotionField, Track, Event, Provenance
PATHWAYS: acquisition -> temporal validation -> feature extraction -> association -> event inference -> validation -> output
MINI_RECURSION_ENGINE: iterate frames, update state, stop at sequence end or resource boundary
INFERENCE_RULES: preserve timestamp order; require evidence for tracking; report uncertainty; abstain on unsupported claims
CONFIDENCE: model-specific, explicitly calibrated when probability semantics are claimed
SEMANTIC_EQUIVALENCE: video sequence ~ ordered temporal frame collection, subject to timebase and provenance constraints
FLOW_HASH: to be computed from the final published canonical text; not fabricated
UPDATE_MODEL: revise upon source changes, timebase corrections, model updates or new validation evidence
END OF FLOW ALGEBRA
Download Code
Copy to Clipboard