WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
WXP::ImageTool Class Reference

This class has some tools for processing images. More...

#include "../include/ImageTool.h"

Static Public Member Functions

static int addColor (Image &image, ColorMap &cmap, ColorFill &fill)
 
static int toGrid (Grid &grid, Image &image)
 

Detailed Description

This class has some tools for processing images.

Author
Dan Vietor

Member Function Documentation

◆ addColor()

int ImageTool::addColor ( Image image,
ColorMap cmap,
ColorFill fill 
)
static

Colorizes an image

Parameters
imageThe image to add color
cmapThe color map to use
fillThe color fill parameters used to color the image

References WXP::Image::allocColors(), WXP::ColorMap::get(), WXP::Image::hasColors(), WXP::RGB::init(), and WXP::Const::MISS.

Referenced by WXP::ImagePlot::drawImage().


The documentation for this class was generated from the following files: