rcv
Rand's OpenCV Utilities
 All Classes Functions
Public Member Functions
rcv::cubehelix::create Struct Reference

A helper struct to create cubehelix instances using named parameters. More...

#include <rcv.hpp>

List of all members.

Public Member Functions

createnlev (size_t val)
 The number of color levels in the color map.
createstart (float val)
 The starting position in the color space. 0=blue, 1=red, 2=green. Defaults to 0.5.
createrot (float val)
 The number of rotations through the rainbow.
creategamma (float val)
 The gamma correction for intensity.
createhue (float val)
 The hue intensity factor.
createreverse ()
 Set to True to reverse the color map.

Detailed Description

A helper struct to create cubehelix instances using named parameters.

          cubehelix colorizer = cubehelix::create().start(.6).rot(1.5).nlev(128).reverse();

          cv::Mat grayscale;
          cv::Mat colorized = colorizer(grayscale);

Member Function Documentation

Set to True to reverse the color map.

Will go from black to white. Good for density plots where shade~density.

create& rcv::cubehelix::create::rot ( float  val) [inline]

The number of rotations through the rainbow.

Can be positive or negative, indicating direction of rainbow. Negative values correspond to Blue->Red direction.


The documentation for this struct was generated from the following file:
 All Classes Functions