Lines Matching refs:Blender
146 int blend_type = Blender::MULTI_BAND;
303 blend_type = Blender::NO;
305 blend_type = Blender::FEATHER;
307 blend_type = Blender::MULTI_BAND;
717 Ptr<Blender> blender;
795 if (!blender && !timelapse)
797 blender = Blender::createDefault(blend_type, try_cuda);
801 blender = Blender::createDefault(Blender::NO, try_cuda);
802 else if (blend_type == Blender::MULTI_BAND)
804 MultiBandBlender* mb = dynamic_cast<MultiBandBlender*>(blender.get());
806 LOGLN("Multi-band blender, number of bands: " << mb->numBands());
808 else if (blend_type == Blender::FEATHER)
810 FeatherBlender* fb = dynamic_cast<FeatherBlender*>(blender.get());
812 LOGLN("Feather blender, sharpness: " << fb->sharpness());
814 blender->prepare(corners, sizes);
832 blender->feed(img_warped_s, mask_warped, corners[img_idx]);
839 blender->blend(result, result_mask);