{"id":17626613,"url":"https://github.com/georgy7/fffd","last_synced_at":"2026-01-08T07:07:23.857Z","repository":{"id":144484589,"uuid":"249615763","full_name":"georgy7/fffd","owner":"georgy7","description":"D port of flood_fill_filter.","archived":false,"fork":false,"pushed_at":"2021-02-17T21:35:40.000Z","size":12090,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T04:45:32.130Z","etag":null,"topics":["edge-detection","edge-detection-algorithm","image-filters","image-processing","jpeg","noise-reduction"],"latest_commit_sha":null,"homepage":"","language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/georgy7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-24T04:51:03.000Z","updated_at":"2021-02-17T21:35:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb084f6c-3ebe-4244-aaad-43550b9a54a2","html_url":"https://github.com/georgy7/fffd","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/georgy7%2Ffffd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgy7%2Ffffd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgy7%2Ffffd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgy7%2Ffffd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/georgy7","download_url":"https://codeload.github.com/georgy7/fffd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246266478,"owners_count":20749807,"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":["edge-detection","edge-detection-algorithm","image-filters","image-processing","jpeg","noise-reduction"],"created_at":"2024-10-22T23:07:17.923Z","updated_at":"2026-01-08T07:07:23.831Z","avatar_url":"https://github.com/georgy7.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fffd\n\n[![Build Status](https://travis-ci.org/georgy7/fffd.svg?branch=master)](https://travis-ci.org/georgy7/fffd)\n\nD port of [flood-fill-filter](https://github.com/georgy7/flood_fill_filter).\n\n## Installation\n\n* [dub package manager installation](https://github.com/dlang/dub#installation)\n* [LDC installation](https://github.com/ldc-developers/ldc#installation)\n\n```sh\ndub build --build=release --compiler=ldc2\nsudo cp fffd /usr/local/bin/\n```\n\n## Usage\n\n```\nfffd [--help] [--diff=(0, 1) Default: 0.08.]\n            [--activation-threshold=(0, 1) Default: 0.45.]\n            [--radius=[1, 5] Default: 4.]\n            [--denoise]\n            input output\n\nPositional arguments:\n input           Input file or \"-\" for reading from STDIN.\n output          Output file or \"-\" for writing to STDOUT.\n\nOptional arguments:\n --help, -h      Prints this help.\n --diff, -d (0, 1) Default: 0.08.\n                 Y (CIE XYZ) sensitivity.\n --activation-threshold, -a (0, 1) Default: 0.45.\n                 The fraction of filled pixels within the fill window needed for\n                 the white pixel in the output.\n --radius, -r [1, 5] Default: 4.\n                 The fill window margin. The window width equals 2r+1.\n --denoise       Remove free-standing points.\n\n```\n\n## Performance\n\n```\n$ time flood_fill_filter --denoise samples2/IMG_2164_q40_orig.bmp samples2/out_fff.png\n\nreal    0m4,510s\nuser    0m14,724s\nsys     0m0,577s\n\n$ time fffd --denoise samples2/IMG_2164_q40_orig.bmp samples2/out_fffd.png\n\nreal    0m0,762s\nuser    0m3,777s\nsys     0m0,072s\n\n$ /usr/bin/time -v flood_fill_filter --denoise samples2/IMG_2164_q40_orig.bmp samples2/out_fff.png |\u0026 grep \"Maximum resident\"\n\tMaximum resident set size (kbytes): 172592\n\n$ /usr/bin/time -v fffd --denoise samples2/IMG_2164_q40_orig.bmp samples2/out_fffd.png |\u0026 grep \"Maximum resident\"\n\tMaximum resident set size (kbytes): 57676\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorgy7%2Ffffd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeorgy7%2Ffffd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorgy7%2Ffffd/lists"}