WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
ImagePiece.h
1#ifndef _WINC_IMAGEPIECE
2#define _WINC_IMAGEPIECE
3
4#include <WXP/DomainVal.h>
5#include <WXP/Image.h>
6
7namespace WXP {
8 class ImagePiece {
9 int nx, ny;
10 DomainVal dv;
11 int pix_ave;
12
13 public:
14 ImagePiece();
15 int init();
16 int set( Image &image, int rnx, int rny, Image &simage );
17 int setPixAve( int val ){ pix_ave = val; return 1; };
18 int add( Image &image, int x, int y, Image &simage );
19 int add( Image &image, Image &simage );
20 };
21}
22#endif
This class pieces a set of image together into a larger image.
Definition ImagePiece.h:8
int set(Image &image, int rnx, int rny, Image &simage)
Definition ImagePiece.cc:39
int add(Image &image, int x, int y, Image &simage)
Definition ImagePiece.cc:74
This class defines an image.
Definition Image.h:19
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines basic domain parameters.
Definition DomainVal.h:5