{"id":28280925,"url":"https://github.com/jiamingmai/fast-guided-image-filter","last_synced_at":"2025-06-16T22:32:05.747Z","repository":{"id":105534401,"uuid":"50502385","full_name":"JiamingMai/Fast-Guided-Image-Filter","owner":"JiamingMai","description":"Implementation of \"Fast Guided Image Filter\" with OpenCV 3.0 (Java API)","archived":false,"fork":false,"pushed_at":"2016-01-27T11:43:13.000Z","size":7,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-21T10:19:15.782Z","etag":null,"topics":[],"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/JiamingMai.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}},"created_at":"2016-01-27T11:19:52.000Z","updated_at":"2020-11-06T06:29:47.000Z","dependencies_parsed_at":"2023-04-21T17:08:03.964Z","dependency_job_id":null,"html_url":"https://github.com/JiamingMai/Fast-Guided-Image-Filter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JiamingMai/Fast-Guided-Image-Filter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JiamingMai%2FFast-Guided-Image-Filter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JiamingMai%2FFast-Guided-Image-Filter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JiamingMai%2FFast-Guided-Image-Filter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JiamingMai%2FFast-Guided-Image-Filter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JiamingMai","download_url":"https://codeload.github.com/JiamingMai/Fast-Guided-Image-Filter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JiamingMai%2FFast-Guided-Image-Filter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260251508,"owners_count":22981059,"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":[],"created_at":"2025-05-21T10:19:16.071Z","updated_at":"2025-06-16T22:32:05.739Z","avatar_url":"https://github.com/JiamingMai.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fast Guided Image Filter implemented by OpenCV 3.0 (Java API)\nDiscription: An implementation of \"Fast Guided Image Filter\" with OpenCV 3.0 (Java API). Guided image filtering is proposed in \"Guided Image Filtering (ECCV 2010)\" by Kaiming He, Jian Sun, and Xiaoou Tang. (http://research.microsoft.com/en-us/um/people/kahe/eccv10/index.html)\n- guidance image: I (should be a color (RGB) image)\n- filtering input image: p (should be a gray-scale/single channel image)\n- local window radius: r\n- regularization parameter: eps\n- subsampling ratio: s (try s = r/4 to s=r)\n\n## Example\n```java\nMat I = Imgproc.imread(\"I.jpg\");\nMat p = Imgproc.imread(\"p.jpg\");\nI.convertTo(I, CvType.CV_32F);\np.convertTo(p, CvType.CV_32F);\nCore.divide(I, new Scalar(255.0, 255.0, 255.0), I);\nCore.divide(p, new Scalar(255.0), p);\n\nint r = 60;\ndouble s = r / 4;\ndouble eps = 0.000001;\n\nFastGuidedFilter fastGuidedFilter = new FastGuidedFilter();\nMat q = fastGuidedFilter.filter(I, p, 2*r+1, eps, s, -1);\n\nCore.multiply(q, new Scalar(255), q);\nq.convertTo(q, CvType.CV_8UC1);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiamingmai%2Ffast-guided-image-filter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiamingmai%2Ffast-guided-image-filter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiamingmai%2Ffast-guided-image-filter/lists"}