项目作者: abhishekraok

项目描述 :
Arrange images in a Quad Graph
高级语言: Jupyter Notebook
项目地址: git://github.com/abhishekraok/GraphMap.git
创建时间: 2016-11-17T06:02:01Z
项目社区:https://github.com/abhishekraok/GraphMap

开源协议:Apache License 2.0

下载


GraphMap

Organizing the images of the world

Build Status

a way to organize image in a spatial 2D layout.
It is a directed cyclic graph where every node has either 0 or 4 edges.
Each node may or may not have an image on them.
One can imagine this as a quad tree (although cycles are possible), and you are looking from the bottom.
Each child gets a quadrant. If a child has an image it covers the parent image in that quadrant.
If a node doesn’t have an image it is invisible.

Graph Map structure

Features

  • The created graph is immutable. New nodes can be added but old ones cannot be modified.
  • Functional approach is used, GraphMap class returns a Result value and does not throw exception.

See it in Action

KaiiMap Gallery is a website created that uses GraphMap and OpenSeadragon.

Installation

You can use pip to install the stable version

pip install graphmap

If you want to install the latest directly from github you can use

pip install git+https://github.com/abhishekraok/GraphMap

Getting Started

Contributing

Contributions are welcome.
Please have unit tests.

Inspiration