CSol
Public Member Functions | Protected Member Functions | List of all members
CSol_2d_Image_to_Grid Class Reference

Qimage to Grid convertor Converts a QImage to a 2D grid layer. More...

#include <csol_2d_image_to_grid.h>

Inherits Operation.

Public Member Functions

 CSol_2d_Image_to_Grid ()
 
virtual ~CSol_2d_Image_to_Grid ()
 

Protected Member Functions

virtual bool execute ()
 

Detailed Description

The grid layer is constructed by converting the image to grayscale and assigning the grid values based on the pixel intensity. The grid values are calculated as min+intensity*(max-min), where max is the max is the 'Range maximum' and min is the 'Range minimum' The offset and spacing values for the grid are also set as inputs. Optionally, any transparent (or semi-transparent) pixels in the image can be set to noData values in the grid.

Constructor & Destructor Documentation

~CSol_2d_Image_to_Grid ( )
virtual

Member Function Documentation

bool execute ( )
protectedvirtual