Skip to content
An Octree Implementation + Application on images.
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ConsoleApplicationTest_Octree
Octree_ZGTR_WPFApp
ScreenShots
_ReSharper.Octree_ZGTR_WPFApp
BureauBlack.xaml
Octree_ZGTR_WPFApp.5.1.ReSharper.user
Octree_ZGTR_WPFApp.sln
Octree_ZGTR_WPFApp.suo
README.md

README.md

Octree-Implementation

Breif
An octree implementation + application on images. A project I did back in 2011.

Hierarchy
In this implementation of Quadtree, you can find different trees. These differs of the way it collapse/reduce the nodes:

  1. OctreeBalancedLeastC7LCollapsing
  2. OctreeBalancedLeastCAllCollapsing
  3. OctreeBalancedLeastVAllSidesCollapsing
  4. OctreeUnBalancedLeastChilds
  5. OctreeUnBalancedLeastV1SideCollapsing: Least visited + collapse one side.

The hierarchy is like this: ![alt tag](https://raw.githubusercontent.com/ZGTR/Octree-Implementation/master/ScreenShots/Picture_0.png)

Mapping Functions in Images

  1. ColorComponent: distance according to R OR G OR B.
  2. ColorComponentsSum: distance according to R AND G AND B.
  3. ColorWeightedComponentSum: distance according to w_r * R AND w_g * G AND w_b * B. You can play with weights as you like. Humans eyes are more sensitive to R the most though.
  4. EcludianDistanceARGB: Ecludian distance between the sums of RGB.
  5. EcludianDistanceColorComponents: Ecludian distance between the RGB.

UI
Using WPF, the user is greeted with: alt tag


For each compressed image, a new entity is added to show the difference: alt tag


You can resize the images as you like: alt tag


You can also see the color histogram for each: alt tag

You can’t perform that action at this time.