RAW histogram mode; see issue #639

This commit is contained in:
Oliver Duis
2011-04-25 10:21:31 +02:00
parent f11ccfc75e
commit 2c949cf011
15 changed files with 138 additions and 208 deletions

View File

@@ -87,7 +87,11 @@ class ImageSource : public InitialImage {
void increaseRef () { references++; }
void decreaseRef () { references--; if (!references) delete this; }
virtual int getAEHistogram (LUTu & histogram, int& histcompr) {return 0;}
virtual void getAutoExpHistogram (LUTu & histogram, int& histcompr)=0;
virtual void getRAWHistogram (LUTu & histRedRaw, LUTu & histGreenRaw, LUTu & histBlueRaw) {
histRedRaw.clear(); histGreenRaw.clear(); histBlueRaw.clear(); // only some sources will supply this
}
// functions inherited from the InitialImage interface
virtual Glib::ustring getFileName () { return fileName; }