Skip to main content

Video Frame Ontology

Computer Vision Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
VIDEO FRAME 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-frame-ontology.html
Original ontology authors: Mark Anthony Higgins — Sky Recursive AI
Original publication: 11 October 2025 | Revised: 01 August 2026
Companion formalisation: 03 November 2026
STATUS: Companion model, not a verbatim transcription of the page's embedded specification (not available in retrieved HTML).
LICENCE: Refer to the source site's published Open Research Licence for applicable terms. Attribution and source citation retained.

1. PURPOSE
Represent a video frame as a timestamped, indexed, spatially bounded image observation within a video sequence. Provide deterministic validation and conditional transitions from frame acquisition to visual evidence and temporal reasoning.

2. ENTITY MODEL
Frame F_t = (id, sequence_id, index, timestamp, image, geometry, colour, provenance, quality, annotations)
image = tensor H x W x C; H,W,C are positive integers.
geometry = (width=W, height=H, pixel_aspect_ratio, orientation, coordinate_frame)
provenance = (source, capture_time, decoding_method, transform_history)
quality = (validity, missing_data, uncertainty, artefacts)
annotations = set of objects, regions, masks, keypoints, embeddings, or events.
Sequence V = (F_0,...,F_n, timebase, ordering_policy).

3. FORMAL STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: current image observation, metadata, and frame history.
R_t: decoding, temporal, spatial, semantic and validation rules.
B_t: permitted pixel domain, timestamps, data access, quality and processing limits.
K_t: known camera properties, previous frames, tracking hypotheses and confidence.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x,B_t) and validate(x,R_t)}
x*_t = argmax_{x in V_t} P(x | I_t,R_t,B_t,K_t), when V_t is nonempty and P is defined.
I_{t+1} = update(I_t,x*_t,observations), subject to provenance and boundary checks.
If V_t is empty, emit a typed validation failure rather than a selected interpretation.

4. FRAME ACQUISITION AND DECODE
raw_t = acquire(sequence_id,index)
F_t.image = decode(raw_t,codec,decoder_config)
ValidFrame(F_t) iff decode_success AND H>0 AND W>0 AND C>0 AND image_values_finite_or_documented_missing.
For constant-rate video, nominal timestamp t_i = t_0 + i/fps (fps>0).
For variable-rate video, use presentation timestamps and the declared timebase; never infer exact timestamps from frame indices alone.

5. TEMPORAL FLOW
Delta_t = timestamp(F_t) - timestamp(F_{t-1})
Ordered(F_t,F_{t-1}) iff Delta_t >= 0 under the declared ordering policy.
MotionEvidence_t = motion_estimator(F_{t-1},F_t,Delta_t) only when Delta_t>0 and both frames are compatible.
Duplicated timestamps, missing frames, dropped frames and out-of-order delivery must be explicitly flagged.

6. SPATIAL FLOW
PixelDomain(F_t) = {(x,y) | 0<=x<W and 0<=y<H}.
NormalisedCoordinate(x,y) = (x/W,y/H), for W,H>0; coordinate conventions must be declared.
T(F_t) = geometric_transform(F_t.image, parameters).
Every transform records input/output dimensions, interpolation, coordinate convention and provenance.
A frame transformation does not imply a change in the underlying physical scene.

7. FEATURE AND OBJECT FLOW
Z_t = encoder(F_t.image;theta)
D_t = detector(Z_t) = {(class_i, region_i, score_i)}
M_t = segmenter(F_t.image) when segmentation is enabled.
Tracks_t = associate(D_{t-1},D_t,K_t) when matching criteria are satisfied.
Scores are model outputs, not calibrated probabilities unless calibration has been verified.

8. UNCERTAINTY AND EVIDENCE
Evidence_t = (frame_id, claim, support_region, method, score, provenance)
Accept(Evidence_t) iff ValidFrame(F_t) AND method_valid AND provenance_present AND thresholds_satisfied.
Confidence must be tied to the claim, model, calibration procedure and evaluation distribution.
Occlusion, blur, compression, exposure and domain shift may lower reliability; none implies a fixed universal penalty.

9. INFERENCE RULES
R1: ValidFrame(F) AND has_timestamp(F) -> FrameObservation(F).
R2: FrameObservation(F_a) AND FrameObservation(F_b) AND t_b>t_a -> OrderedPair(F_a,F_b).
R3: OrderedPair(F_a,F_b) AND compatible_geometry(F_a,F_b) -> EligibleForTemporalAnalysis(F_a,F_b).
R4: valid_region(r,F) AND detected_label(r,c) -> CandidateObject(F,r,c).
R5: CandidateObject(F,r,c) AND evidence_sufficient(F,r,c) -> SupportedObjectClaim(F,r,c).
R6: missing_provenance(F) OR invalid_dimensions(F) -> RejectFrame(F).
R7: uncertainty_exceeds_boundary(E) -> AbstainOrRequestReview(E).
These rules are conditional logical entailments; they do not guarantee perceptual correctness.

10. TRI-MAPPING
ENTITY -> RELATION -> OPERATION
Video Frame -> belongs_to -> Video Sequence -> index/order
Video Frame -> has_timestamp -> Temporal Position -> synchronise
Video Frame -> contains -> Pixel Grid -> sample
Video Frame -> depicts -> Candidate Object -> detect/verify
Video Frame -> precedes -> Video Frame -> compare
Video Frame -> generates -> Visual Embedding -> retrieve
Video Frame -> supports -> Perceptual Evidence -> validate

11. RELATIONSHIP GRAPH
VideoSequence
  |-- contains --> VideoFrame
  |                  |-- has --> PixelGrid
  |                  |-- has --> Timestamp
  |                  |-- has --> Provenance
  |                  |-- yields --> FeatureMap
  |                  |-- supports --> Detection/Mask/Embedding
  |                  '-- relates_to --> Previous/NextFrame
  '-- defines --> Timebase and OrderingPolicy

12. EXECUTION DIAGRAM
[Video Stream]
      |
[Decode + Capture Metadata]
      |
[Validate Frame + Timestamp] --fail--> [Typed Error + Provenance Log]
      |
[Normalise / Transform with Provenance]
      |
[Extract Features and Optional Detections]
      |
[Temporal Alignment / Tracking if Valid]
      |
[Evidence + Uncertainty Validation]
      |
[Emit Frame Entity + Relationships + Audit Record]

13. MAPPING TABLE
Input: compressed frame -> Decode -> pixel tensor / error
Input: timestamp + timebase -> Normalise -> temporal coordinate
Input: pixel tensor -> Validate -> accepted frame / rejection
Input: accepted frame -> Feature extraction -> feature map
Input: frame pair -> Temporal alignment -> candidate motion evidence
Input: detections -> Evidence gate -> supported claims / abstention

14. VALIDATION RULES
- Unique (sequence_id,frame_id); frame indices must follow the declared policy.
- Require positive dimensions and explicit channel/colour-space metadata.
- Preserve original timestamps and distinguish capture, decode and presentation time.
- Preserve image provenance and transform lineage.
- Reject invalid spatial bounds; document clipped or padded regions.
- Avoid assuming constant frame rate for variable-rate media.
- Check privacy and permitted processing boundaries before extraction or sharing.
- Distinguish unknown values from zero and missing frames from blank frames.
- Ensure model versions and confidence-calibration context are traceable.

15. CONDITIONAL EXECUTION GUARANTEE
If decoding is valid, boundaries are satisfied, declared operations are deterministic for fixed inputs/configuration, and required metadata is available, the pipeline can produce a structurally valid, traceable frame record. This does not guarantee correct object recognition, scene interpretation, tracking or real-world truth. Failure or uncertainty must be reported explicitly.

16. AI SEARCH FLOW
FLOW_ID: semantic-library.ai-core.computer-vision.video-frame
VERSION: 1.0-companion
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/computer-vision-entities/video-frame-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/computer-vision-entities/video-frame-ontology.html
PURPOSE: Retrieve and reason about timestamped video frames and their visual/temporal evidence.
STATE_MODEL: S_t=(I_t,R_t,B_t,K_t)
ENTITIES: VideoFrame, VideoSequence, PixelGrid, Timestamp, FeatureMap, Detection, Mask, Embedding, Provenance
PATHWAYS: Acquire -> Decode -> Validate -> Transform -> Extract -> Align -> Verify -> Emit
MINI_RECURSION_ENGINE: Re-evaluate uncertain frame interpretations when new adjacent-frame evidence is supplied; bounded by iteration/time budgets.
INFERENCE_RULES: R1-R7 above.
CONFIDENCE: Conditional, model-specific, evidence-dependent; not an unconditional truth value.
SEMANTIC_EQUIVALENCE: Frame/image equivalence requires explicit identity, timing, transform and provenance criteria.
FLOW_HASH: Not computed; generate SHA-256 from the final canonical published TXT bytes if required.
UPDATE_MODEL: Version and date every revision; preserve source lineage and changelog.

END OF FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ