1 /* 2 * PTstitch.h 3 * 4 * Routines related to stitching and creation of alpha channels 5 * 6 * Copyright Helmut Dersch and Daniel M. German 7 * 8 * Aug 2006 9 * 10 * This program is free software; you can redistribute it and/or 11 * modify it under the terms of the GNU General Public 12 * License as published by the Free Software Foundation; either 13 * version 2 of the License, or (at your option) any later version. 14 * 15 * This software is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 * General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this software; see the file COPYING. If not, a copy 22 * can be downloaded from http://www.gnu.org/licenses/gpl.html, or 23 * obtained by writing to the Free Software Foundation, Inc., 24 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 25 * 26 * 27 * Author: Daniel M German dmgerman at uvic doooot ca 28 * 29 */ 30 31 #ifndef __PTSTITCH_H__ 32 33 #define __PTSTITCH_H__ 34 35 PANO13_IMPEX void panoStitchBlendLayers(unsigned char **imageDataBuffers, 36 unsigned int counterImageFiles, 37 unsigned char *resultBuffer, 38 unsigned int linesToRead, 39 int imageWidth, 40 unsigned int bitsPerPixel, 41 unsigned int scanLineSize); 42 43 44 PANO13_IMPEX int panoStitchReplaceMasks(fullPath * inputFiles, fullPath * outputFiles, 45 int numberImages, int featherSize); 46 47 PANO13_IMPEX unsigned int panoStitchPixelChannelGet(unsigned char *ptr, int bytesPerPixel, int channel); 48 PANO13_IMPEX void panoStitchPixelChannelSet(unsigned char *ptr, int bytesPerPixel, int channel, unsigned int value); 49 50 51 52 #endif 53