Searched refs:posterize (Results 1 – 3 of 3) sorted by relevance
1115 const double gamma, unsigned int posterize) in set_rounded_palette() argument1124 px.r = posterize_channel (px.r, posterize); in set_rounded_palette()1125 px.g = posterize_channel (px.g, posterize); in set_rounded_palette()1126 px.b = posterize_channel (px.b, posterize); in set_rounded_palette()1127 px.a = posterize_channel (px.a, posterize); in set_rounded_palette()
765 std::shared_ptr<TensorTransform> posterize(new vision::RandomPosterize({1, 4})); in TEST_F() local768 ds = ds->Map({posterize}); in TEST_F()813 std::shared_ptr<TensorTransform> posterize(new vision::RandomPosterize()); in TEST_F() local816 ds = ds->Map({posterize}); in TEST_F()
11100 Apply a posterize effect using the ELBG (Enhanced LBG) algorithm.