Skip to content

susurrant/rrim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rrim

Reference

Red relief image map: New visualization method for three dimensional data
T. Chiba, S. Kaneta, Y. Suzuki, 2008, ISPRS

Enviroment

  • Python: 3.6
  • OpenCV: 3.3

Description

Generate a rrim image from depth data, such as DEM, raster, point cloud data.

Parameters

Main function in rrim.py:

rrim(depth, cell_size, L, output_fname, color_size=(50, 50, 3))
  • depth
    numpy.array: Depth data
  • cell_size
    float: The actual distance that a cell (pixel, point) covers
  • L
    float: The distance within which points are used to compute openness
  • output_fname
    string: The filename of the output rrim image
  • color_size
    numpy.array, shape = (int, int, 3): The range of color corresponding to the ranges of slope and openness

Example

DEM data:
dem RRIM image:
rrim A more detailed image of the northwestern part:
detail

About

Implementation of Red Relief Image Map

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages