{"id":13643207,"url":"https://github.com/SmartDengg/RxBlur","last_synced_at":"2025-04-20T21:33:17.763Z","repository":{"id":161581275,"uuid":"47520139","full_name":"SmartDengg/RxBlur","owner":"SmartDengg","description":"用RxJava处理和操作高斯模糊效果的简单用例。","archived":false,"fork":false,"pushed_at":"2018-11-08T14:32:46.000Z","size":1648,"stargazers_count":543,"open_issues_count":0,"forks_count":67,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-06T03:07:34.270Z","etag":null,"topics":["rxandroid","rxjava","rxjava-picasso"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SmartDengg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-12-07T00:34:28.000Z","updated_at":"2025-03-21T16:35:14.000Z","dependencies_parsed_at":"2023-05-22T02:45:10.457Z","dependency_job_id":null,"html_url":"https://github.com/SmartDengg/RxBlur","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartDengg%2FRxBlur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartDengg%2FRxBlur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartDengg%2FRxBlur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartDengg%2FRxBlur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SmartDengg","download_url":"https://codeload.github.com/SmartDengg/RxBlur/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249965566,"owners_count":21352926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rxandroid","rxjava","rxjava-picasso"],"created_at":"2024-08-02T01:01:43.798Z","updated_at":"2025-04-20T21:33:16.884Z","avatar_url":"https://github.com/SmartDengg.png","language":"Java","funding_links":[],"categories":["模糊效果","Example"],"sub_categories":["一些原理分析的文章"],"readme":"# RxBlur\n\n![](./images/icon.png)\n\n## @Deprecated\n\n**简 介**\n-----------------\n在Android设备上,实现一个毛玻璃（高斯模糊）效果总是让人很棘手，不仅要考虑视觉效果，还要在性能和代码实现的复杂度上做出权衡。\n这里归纳和总结了几种实现方案，并且用RxJava进行封装，方便以流的形式处理图片的加载和操作。\n\n**项目结构**\n-----------------\n\n- **MainActivity：** RxJava + RxBinding + [RxViewStub](https://github.com/SmartDengg/RxViewStub) + BestBlur\n\n- **PicassoBlurActivity：** RxJava + Picasso + Transformation + RenderScript\n\n- **GlideBlurActivity：** RxJava + Glide + Transformation + RenderScript\n\n- **RemoteBlurActivity：** RxJava + Retrofit + BestBlur\n\n- **FastBlurActivity：** RxJava + Picasso + [FastBlur](http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html)\n\n- **PaintBlurActivity：** RxJava + Picasso + PaintBlur\n\n- **RxAnimatorBlurActivity：** RxJava + Picasso + Animator(TypeEvaluator)\n\n**总结**\n-----------------\n\n运行项目，然后对比高斯效果，这里计算了每种模糊算法的所耗时长，方便您的选择，虽然BestBlur\n在代码的复杂度上很难令人接受，但是在性能表现和模糊效果上还是令人满意的，所以，综合考虑，它是个不错的选择，而且，还可以设置模糊灰度。\n\n如果您对RxJava更感兴趣，可以按照我的实现思路，扩展自己需要的“RxBinding”。\n\n如果，您发现了它的不当之处或者更好地实现思路与方案，请联系我，谢谢。\n\n**关于开发者**\n-----------------\n\n- 小鄧子 - Hi4Joker@gmail.com\n\n[小鄧子的简书](http://www.jianshu.com/users/df40282480b4/latest_articles)\n \n[小鄧子的慕课网专题](http://www.imooc.com/myclub/article/uid/2536335)\n\n\u003ca href=\"http://weibo.com/5367097592/profile?rightmod=1\u0026wvr=6\u0026mod=personinfo\"\u003e\n  \u003cimg alt=\"Follow me on Weibo\" src=\"http://upload-images.jianshu.io/upload_images/268450-50e41e15ac29b776.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240\" /\u003e\n\u003c/a\u003e\n\n**参考自**\n-----------------\n\n- [RxJava](https://github.com/ReactiveX/RxJava) - ReactiveX\n\n- [RxBinding](https://github.com/JakeWharton/RxBinding) - JakeWharton\n\n- [StackBlurDemo](http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html) - Yahel Bouaziz\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSmartDengg%2FRxBlur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSmartDengg%2FRxBlur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSmartDengg%2FRxBlur/lists"}