25 #ifndef BWCONVERSIONDIRECT_H
26 #define BWCONVERSIONDIRECT_H
28 #include <ImageOperation.hpp>
29 #include <ImageBuffer.hpp>
31 using namespace FotoSHOCKcore;
35 virtual void runOperation (
const Inputs& sources,
const Outputs& dest, vector<UpdateInfo>& ROI,
const long stamp);
37 template <ValueType::Enum PixelFormat>
38 void convert(
MipMap* src,
MipMap* dest, vector<UpdateInfo>& ROIlist,
const long stamp);
43 virtual const char*
name() {
return "B/W Conversion.";}
44 virtual const char*
description() {
return "Converts an image to grayscale.";}