AlbumShaper
1.0a3
|
00001 //============================================== 00002 // copyright : (C) 2003-2005 by Will Stokes 00003 //============================================== 00004 // This program is free software; you can redistribute it 00005 // and/or modify it under the terms of the GNU General 00006 // Public License as published by the Free Software 00007 // Foundation; either version 2 of the License, or 00008 // (at your option) any later version. 00009 //============================================== 00010 00011 #ifndef BACKEND_MANIPULATIONS_BLUR_H 00012 #define BACKEND_MANIPULATIONS_BLUR_H 00013 00014 //-------------------- 00015 //forward declarations 00016 //-------------------- 00017 class QImage; 00018 00019 //Blur image 00020 void blurImage( QImage &image, float sigma ); 00021 00022 //Blur an image, but take into consideration edge data 00023 //by bluring specifically the edges or the regions inbetween 00024 void blurImage( QImage &image, float sigma, 00025 QPoint offset, QSize fullImageRes, 00026 QImage* edges, int* regions, int numRegions, 00027 bool targetEdges); 00028 00029 00030 00031 #endif //BACKEND_MANIPULATIONS_BLUR_H