//==============================================
//  copyright            : (C) 2003-2005 by Will Stokes
//==============================================
//  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.
//==============================================

#ifndef BACKEND_ENHANCEMENTS_CONTRAST_H
#define BACKEND_ENHANCEMENTS_CONTRAST_H

//--------------------
//forward declarations
//--------------------
class QImage;
class QString;
class StatusWidget;

//Enhance image contrast using contrast normalization technique
QImage* enhanceImageContrast( QString filename, StatusWidget* status );

//Behaves in same fashion as above function, but takes in an already loaded image
void enhanceImageContrast( QImage* image, StatusWidget* status=NULL );

#endif //BACKEND_ENHANCEMENTS_CONTRAST_H
