Skip to main content

Optical Flow Entity Ontology

Computer Vision Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
OPTICAL FLOW ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Computer Vision Entities
Version: Companion formalisation 1.0 | 03 November 2026 | Language: en-GB
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/computer-vision-entities/optical-flow-entity-ontology.html
SOURCE AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE DATE: 11 October 2025 | Revised: 01 August 2026
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/computer-vision-entities/optical-flow-entity-ontology.html
STATUS: Independently developed companion formalisation; the webpage's embedded specification was not exposed in the retrieved text. The equations below are proposed formal rules, not a verbatim transcription.

1. PURPOSE
Represent optical flow as a time-indexed field of apparent image-plane displacement, with provenance, calibration, uncertainty, visibility and validation. Distinguish measured apparent motion from physical 3D velocity.

2. ENTITY DEFINITION
OpticalFlowEntity OF = (ID, I_t, I_t+dt, T, D, F, M, C, U, P, K)
ID: stable entity identifier
I_t, I_t+dt: source images or frames
T = (t, t+dt): ordered timestamps, dt > 0
D: image pixel domain
F: optical flow field, F(x,y) = (u(x,y),v(x,y))
M: validity/visibility mask
C: confidence map in [0,1]
U: uncertainty representation (e.g. per-pixel covariance)
P: source and algorithm provenance
K: boundary, camera and computational constraints

3. FORMAL STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: available image evidence and previous estimates
R_t: optical-flow and semantic relationships
B_t: admissible domain, masks, calibration and operational boundaries
K_t: timestamps, camera context, model parameters and known limitations
Candidate expansion: E_t = expand(I_t,R_t)
Valid candidates: V_t = {z in E_t | Valid(z,B_t,K_t)}
Selection: z* = argmax_{z in V_t} Score(z | I_t,R_t,B_t,K_t)
Update: I_(t+1) = Update(I_t,z*,Evidence_(t+1))
NOTE: Score is an explicit decision function, not automatically a calibrated probability.

4. CORE FLOW ALGEBRA
Frame pair: Pair_t = (I_t,I_(t+dt))
Estimate: F_t = EstimateFlow(Pair_t,theta,K_t)
Domain: F_t : D_valid -> R^2
Pixel correspondence: p' = p + F_t(p), p=(x,y)
Displacement components: F_t(p) = (u_t(p),v_t(p)) [pixels]
Apparent velocity: V_t(p) = F_t(p)/dt [pixels per second]
Warped sample: I_warp(p) = I_(t+dt)(p+F_t(p))
Brightness-constancy residual: r_B(p)=I_t(p)-I_warp(p)
Linearised constraint (when differentiability and small displacement hold):
  I_x*u + I_y*v + I_time = 0
This single scalar constraint does not uniquely determine two flow components; additional spatial, temporal or model assumptions are required.

5. IMPLEMENTS — EXECUTION PATHWAY
INPUT -> VERIFY TIMESTAMPS -> VERIFY IMAGE GEOMETRY -> PREPROCESS
-> ESTIMATE FLOW -> CHECK OCCLUSION/BOUNDARIES -> COMPUTE CONFIDENCE
-> VALIDATE -> LINK TO ENTITIES -> OUTPUT + PROVENANCE

6. VALIDATION RULES
V1: Images exist and have documented dimensions and compatible coordinate frames.
V2: dt > 0 and units are explicit.
V3: F_t(p) is finite wherever M(p)=1.
V4: C(p) lies in [0,1] where defined; confidence is not assumed calibrated.
V5: Out-of-frame correspondences are marked invalid, not silently extrapolated.
V6: Occlusions, disocclusions and low-texture areas are flagged where detected.
V7: Camera motion, rolling shutter and scene cuts are recorded when relevant.
V8: Invalid or uncertain estimates remain distinguishable from zero motion.

7. RELATIONSHIP GRAPH
OpticalFlowEntity --derivedFrom--> ImageFramePair
OpticalFlowEntity --hasField--> DisplacementVectorField
OpticalFlowEntity --hasMask--> VisibilityMask
OpticalFlowEntity --hasConfidence--> ConfidenceMap
OpticalFlowEntity --hasUncertainty--> UncertaintyMap
OpticalFlowEntity --supports--> ObjectTracking
OpticalFlowEntity --supports--> MotionSegmentation
OpticalFlowEntity --supports--> VideoAnalysis
OpticalFlowEntity --mayDependOn--> CameraCalibration
OpticalFlowEntity --mustNotBeConflatedWith--> Physical3DVelocity

8. INFERENCE RULES
R1: If M(p)=0, do not assert a reliable pixel correspondence at p.
R2: If p'=p+F_t(p) and p' lies within the valid image domain, assert a candidate image-plane correspondence.
R3: If dt>0 and F is valid, infer apparent velocity F/dt, not physical speed.
R4: If forward and backward flow disagree beyond tolerance, lower confidence or flag potential occlusion; disagreement alone does not prove occlusion.
R5: If the frame pair contains a scene cut, reject temporal flow continuity unless separately justified.
R6: If residual error is high, flag model mismatch, lighting variation or correspondence error; do not assign a unique cause without evidence.
R7: If a tracked object has consistent valid flow in its region, propose a motion association, subject to tracking validation.

9. UNCERTAINTY AND CONFIDENCE
C_t(p) = Calibrate(q_t(p), validation_data) when calibration data exist.
U_t(p) = CovarianceEstimate(F_t(p)) where an estimator supplies uncertainty.
Forward/backward consistency:
  e_FB(p) = ||F_forward(p) + F_backward(p+F_forward(p))||_2
Consistency gate: e_FB(p) <= tau_FB(p) with a documented threshold.
Confidence is not equivalent to correctness; evaluate reliability on representative data.

10. TRI-MAPPING
PHYSICAL: scene surfaces, camera, light, time and relative movement.
MATHEMATICAL: image domain, vector field, warp, derivatives, uncertainty and optimisation.
SEMANTIC: image frame, optical-flow entity, motion observation, tracked object and provenance.
Mapping must preserve units, reference frames, time and epistemic status.

11. MAPPING TABLE
Source image pair | FramePair | timestamped image evidence
Pixel displacement | FlowVector | u,v in pixels
Flow field | OpticalFlowEntity | D -> R^2
Validity | Mask | valid/invalid/unknown
Confidence | ConfidenceMap | bounded score, calibrated if claimed
Motion association | TrackingRelation | candidate correspondence, not identity proof

12. HOW TO READ THE FLOW
The system first checks frame order and image compatibility. It estimates apparent motion between images, attaches validity and uncertainty, then tests whether the result can support downstream reasoning. Every derived relationship retains its source frame pair and limitations.

13. EXECUTION DIAGRAM
[Frame t] ----\
               -> [Preprocess] -> [Flow estimate] -> [Validity + uncertainty]
[Frame t+dt] -/                                      |
                                                     v
                                          [Semantic relationships]
                                                     |
                                                     v
                                           [Validated output]

14. CONDITIONAL EXECUTION GUARANTEE
Given accessible frames, valid timestamps, compatible geometry, an available estimator and satisfied resource constraints, the pipeline guarantees a typed result or an explicit failure state. It does NOT guarantee that the inferred flow is physically correct, unique, calibrated or accurate in occluded/textureless regions.

15. FAILURE AND RECOVERY
Missing frame -> INCOMPLETE_INPUT; request or retrieve missing evidence.
Nonpositive dt -> INVALID_TIME; correct metadata before inference.
Dimension mismatch -> GEOMETRY_ERROR; align/rectify only with documented transform.
Scene cut -> TEMPORAL_DISCONTINUITY; split sequence.
Low confidence -> UNCERTAIN_FLOW; retain uncertainty and avoid strong claims.
Numerical failure -> ESTIMATION_ERROR; log configuration and permit bounded retry.

16. AI SEARCH FLOW
FLOW_NAME: OpticalFlowEntityOntology
VERSION: 1.0
AUTHORS: Mark Anthony Higgins; Sky Recursive AI (source attribution)
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/computer-vision-entities/optical-flow-entity-ontology.html
PURPOSE: Retrieve and reason over optical-flow concepts, fields, evidence and relations.
ENTITIES: OpticalFlowEntity, ImageFrame, Pixel, FlowVector, MotionObservation, ValidityMask, ConfidenceMap, CameraModel.
PATHWAYS: frame-pair -> estimation -> validation -> semantic linkage -> retrieval.
MINI_RECURSION_ENGINE: iterate estimation/validation only while evidence or parameters change and budget remains; stop at convergence, exhaustion or failure.
INFERENCE_RULES: R1-R7 above.
CONFIDENCE: record estimate, provenance, calibration status and uncertainty separately.
SEMANTIC_EQUIVALENCE: optical flow ~ apparent pixel displacement; not equivalent to world-space velocity or object identity.
FLOW_HASH: compute a cryptographic digest from the canonical published TXT bytes at deployment; not precomputed here.
UPDATE_MODEL: version changes, preserve prior revisions and timestamp changes.

17. EXAMPLE
For two frames separated by dt=0.04 seconds, a valid pixel with flow (2,-1) pixels has apparent image velocity (50,-25) pixels/second. This is an illustrative calculation, not a measurement of an actual scene.

18. CITATION AND LICENCE NOTE
Source and conceptual attribution: Mark Anthony Higgins — Sky Recursive AI, Kireth Research.
Retain the source backlink when redistributing. Consult the source's published Open Research Licence for operative reuse terms; no additional licence terms are asserted here.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ