Skip to main content

Digital Image Ontology

Computer Vision Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
DIGITAL IMAGE ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Computer Vision Entities
Version: Companion formalisation 1.0 | 03 November 2026

AUTHORS AND ATTRIBUTION
Original ontology: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/computer-vision-entities/digital-image-ontology.html
Original publication: 11 October 2025; revised 01 August 2026 (as displayed on source page).
Companion Flow Algebra: structured extension; not a verbatim transcription of the page's hidden AI Search specification.
Citation: Credit Mark Anthony Higgins and Sky — Recursive AI; cite the source URL.

1. PURPOSE
Represent a digital image as a typed, bounded, provenance-aware visual entity that can be decoded, transformed, measured, and passed to downstream computer-vision operations without confusing raw pixel evidence with inferred meaning.

2. ENTITY AND STATE MODEL
D = (id, X, H, W, C, q, cs, d, t, p, m, u)
id: stable image identifier
X: pixel tensor, or a reference to immutable pixel content
H,W: height and width in pixels; positive integers
C: number and interpretation of channels
q: sample precision and encoding characteristics
cs: colour space and transfer function
d: pixel value domain and normalisation
t: capture or generation time, where known
p: provenance (source, transformations, rights, checksums)
m: metadata (orientation, coordinate reference, calibration where known)
u: uncertainty, missing-data mask, and quality indicators

Perceptual system state:
S_t = (I_t, R_t, B_t, K_t)
I_t = current image data and observations
R_t = spatial, spectral, temporal and provenance relationships
B_t = validity, privacy, safety and resource boundaries
K_t = known image formats, transforms, calibration and task context

3. FLOW ALGEBRA CORE
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x, B_t) = true}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, evidence_t)

For image operations, x is a candidate representation or permissible transformation. P denotes a task-specific selection score or calibrated probability only when a probabilistic model supports that interpretation. Empty V_t yields ABSTAIN or ERROR, never a fabricated image.

4. IMAGE INGESTION FLOW
Encoded bytes / sensor data
  -> identify format and source
  -> validate byte stream and limits
  -> decode into pixel tensor X
  -> resolve orientation and colour metadata
  -> construct canonical image entity D
  -> record provenance and quality
  -> expose typed image for permitted tasks

Ingest(bytes, metadata, B) = D if all required checks pass; otherwise Error(reason).

5. STRUCTURAL INVARIANTS
H > 0 AND W > 0
shape(X) matches (H,W,C), or a declared alternate tensor layout
channels(X) conform to cs and declared alpha conventions
pixel values belong to declared domain d, except explicitly masked invalid samples
transformations preserve traceable lineage
image identity is distinct from the identities of depicted objects
image coordinates are not world coordinates without a valid mapping

6. TRANSFORMATION ALGEBRA
T(D; theta) -> D'
Examples: crop, resize, rotate, denoise, colour conversion, normalise.
For a geometrical transform g, coordinate correspondence is x' = g(x).
When resampling, record kernel, interpolation, border policy and loss of detail.
For compositional transforms:
T_total = T_n o ... o T_2 o T_1
D_n = T_total(D_0)
A transformation may be irreversible; no inverse is promised without conditions.

7. FEATURE AND RELATIONSHIP MAPPING
DigitalImage --hasPixel--> Pixel
DigitalImage --hasChannel--> ImageChannel
DigitalImage --hasMetadata--> ImageMetadata
DigitalImage --hasRegion--> ImageRegion
DigitalImage --derivedFrom--> SourceImage / SensorObservation
ImageRegion --mayContain--> DetectedObject
DigitalImage --inputTo--> VisionModel
VisionModel --produces--> Detection / Segmentation / Embedding
ImageTransformation --maps--> InputImage -> OutputImage

A detection is a model hypothesis, not an intrinsic property of the image.

8. INFERENCE RULES
R1: valid_decode(D) AND valid_shape(D) -> structurally_valid(D)
R2: structurally_valid(D) AND allowed_use(D,B) -> admissible(D)
R3: admissible(D) AND compatible(D,M) -> may_evaluate(M,D)
R4: transformed(D,D',T) -> derived_from(D',D)
R5: detection(M,D,o,c) AND calibrated(M) -> report hypothesis(o,c)
R6: unknown_colour_space(D) -> flag_uncertain_colour_interpretation(D)
R7: missing_calibration(D) -> prohibit_unqualified_metric_depth_claim(D)
R8: invalid_or_unsafe(D) -> abstain_or_reject(D)

9. TRI-MAPPING
Ontology concept | Formal representation | Operational implementation
Digital image | D | typed image record / pixel array
Pixel grid | X[H,W,C] | decoded tensor
Image boundary | B | dimension, format, rights, resource checks
Image transform | T(D;theta) | deterministic processing stage
Provenance | p | source identifier and transformation log
Visual inference | P(o|D,K) | model prediction with uncertainty
Image relationship | R | typed graph edge

10. EXECUTION DIAGRAM
[Source image]
      |
[Decode + validate] --failure--> [Error / abstain]
      |
[Canonical image entity]
      |
[Apply permitted transforms]
      |
[Update provenance + coordinate mapping]
      |
[Extract features / model inference]
      |
[Check uncertainty and boundaries]
      |
[Evidence-linked output]

11. VALIDATION AND FAILURE CONDITIONS
Reject malformed files, decompression bombs, invalid dimensions, unsupported channel semantics and disallowed source use. Flag rather than silently infer missing colour profiles, timestamps, camera calibration or provenance. Record clipping, interpolation artefacts, occlusion and compression effects where material. Never treat generated or edited images as unmodified observations.

12. CONDITIONAL EXECUTION GUARANTEE
If decoding succeeds, invariants hold, transformations are specified, and boundaries are satisfied, the system can guarantee a typed output and a traceable processing path. It cannot guarantee semantic recognition accuracy, physical truth, or lossless reconstruction without additional validated assumptions.

13. AI SEARCH FLOW
FLOW_ID: DIGITAL_IMAGE_ONTOLOGY_FLOW_V1
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/computer-vision-entities/digital-image-ontology.html
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
PURPOSE: Ground digital-image entities and transformations in validated visual evidence.
INPUT: image bytes or pixel tensor, metadata, task, boundaries
ENTITIES: DigitalImage, Pixel, Channel, Region, Metadata, Transform, VisionModel
PATHWAYS: ingest -> validate -> normalise -> transform -> infer -> verify -> emit
MINI_RECURSION_ENGINE: repeat permissible refinement while evidence improves, within iteration/resource limits; stop on convergence, rejection or budget exhaustion
INFERENCE_RULES: R1-R8
CONFIDENCE: attach model-specific calibrated confidence only where supported
SEMANTIC_EQUIVALENCE: equivalent image content is not necessarily identical encoding, resolution, provenance or geometry
UPDATE_MODEL: append derived entities and provenance; never silently overwrite original evidence
OUTPUT: typed image record, feature/result references, confidence/quality annotations, validation status

14. HOW TO READ AND APPLY
Start with the source image and its provenance. Validate tensor structure and colour semantics. Apply only declared transformations, retaining mappings to the original. Interpret detections as uncertain claims supported by image regions and model evidence. Emit explicit rejection or uncertainty when the evidence is insufficient.

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