您好。
我正在尝试在应用程序中实现一个功能,该功能基于用户(选择/触摸)选择区域来模糊图像的某些部分。我已经为整个图像实现了代码。但我无法找到图像指定区域的任何示例。所以,请帮助我使用哪种类型的例子。
答案 0 :(得分:1)
在发布之前先搜索一下:
使用此功能模糊照片:
https://futurestud.io/blog/how-to-blur-images-efficiently-with-androids-renderscript
并使用它来选择您想要的区域
http://code.tutsplus.com/tutorials/capture-and-crop-an-image-with-the-device-camera--mobile-11458
答案 1 :(得分:0)
使用它来模糊图像示例示例: http://javatechig.com/android/how-to-create-bitmap-blur-effect-in-android-using-renderscript
答案 2 :(得分:0)
我通过以下链接找到了它: http://trickyandroid.com/advanced-blurring-techniques/
现在我将开发此链接以拖放选定的模糊区域。但我不会在其他领域放弃这种模糊。请帮助。