This class pieces a set of image together into a larger image. More...
#include "../include/ImagePiece.h"
Public Member Functions | |
| int | set (Image &image, int rnx, int rny, Image &simage) |
| int | add (Image &image, int x, int y, Image &simage) |
| int | add (Image &image, Image &simage) |
This class pieces a set of image together into a larger image.
Adds data to output image
| image | Output image |
| x | X location of specific image | |
| y | Y location of specific image | |
| simage | Input image to add to output image |
References WXP::Image::getPixel(), WXP::DomainVal::nx, WXP::DomainVal::ny, and WXP::Image::setPixel().
Sets up output image. Input is the upper left image so that domain size and location can be determined. This assumes all images are the same size.
| image | Output image |
| rnx | Number of image to piece in X direction | |
| rny | Number of image to piece in Y direction | |
| simage | A sample input image to reference |
References WXP::Image::allocData(), WXP::DomainVal::clat, WXP::DomainVal::clon, WXP::EarthPoint::lat, WXP::EarthPoint::lon, WXP::DomainVal::nx, WXP::DomainVal::ny, WXP::Domain::set(), WXP::Image::setPixel(), WXP::Domain::tran(), and WXP::Domain::UL.
1.6.1