1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
|
/*
* PTStitcher
*
* Based on the program by Helmut Dersch's panorama-tools
* to duplicate the functionality of original program
*
* Dec 2005
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, a copy
* can be downloaded from http://www.gnu.org/licenses/gpl.html, or
* obtained by writing to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*
*
*
*/
/* Global variables */
#ifndef __PTmender_h__
#define __PTmender_h__
extern stBuf global5640;
extern VRPanoOptions defaultVRPanoOptions;
extern int jpegQuality;
extern int jpegProgressive;
// TIFFTAG_PIXAR_IMAGEFULLWIDTH and TIFFTAG_PIXAR_IMAGEFULLLENGTH should be defined in
// tiff.h. but, just in case...
#ifndef TIFFTAG_PIXAR_IMAGEFULLWIDTH
#define TIFFTAG_PIXAR_IMAGEFULLWIDTH 33300 /* full image size in x */
#endif
#ifndef TIFFTAG_PIXAR_IMAGEFULLLENGTH
#define TIFFTAG_PIXAR_IMAGEFULLLENGTH 33301 /* full image size in y */
#endif
/* These functions are already implemented */
//void ReplaceExt(char *, char*);
char* Filename(fullPath* path);
//int CreatePanorama(fullPath ptrImageFileNames[], int counterImageFiles, fullPath *panoFileName, fullPath *scriptFileName);
//void ARGtoRGBAImage(Image *im);
/* These functions need to be implemented */
void Clear_Area_Outside_Selected_Region(Image *currentImagePtr);
int Unknown01(Image *, fullPath*);
int Unknown02(Image *, fullPath*);
int Unknown03(Image *, fullPath*);
int Unknown04(Image *, fullPath*);
int Unknown05(Image *, fullPath*);
int Unknown07(Image *, fullPath*);
int Create_LP_ivr(Image *, fullPath*);
void getROI( TrformStr *TrPtr, aPrefs *aP, PTRect *ROIRect);
#endif
|