#ifndef BLEND_INCLUDE #define BLEND_INCLUDE #include "traster.h" #include "trastercm.h" #include "ttoonzimage.h" //------------------------------------------------------------------------------------------ struct BlendParam { std::vector colorsIndexes; // List of color indexes to be blended together double intensity; // Blur radius int smoothness; // Number of neighbouring Blur Samples per pixel bool stopAtCountour; // Blur is obstacled by not chosen color indexes int superSampling; }; //------------------------------------------------------------------------------------------ template void blend(TToonzImageP ti, TRasterPT rasOut, const std::vector ¶ms); #endif //BLEND_INCLUDE