This document proposes a semantic octree framework that unifies recognition, reconstruction, and representation of 3D scenes using an octree constrained higher order Markov random field. It combines associative higher-order random fields (AHRF) for semantic segmentation with octree-based volumetric mapping. The framework takes stereo images as input, generates point clouds and class hypotheses, then fuses the data into an octree. Inference over the octree voxels assigns labels to produce a semantically labelled 3D scene. The approach allows for efficient access and manipulation of 3D models through the octree representation.