{"id":19747374,"url":"https://github.com/maryehb/image-processing-algorithms","last_synced_at":"2025-06-21T03:35:52.297Z","repository":{"id":225647094,"uuid":"766496783","full_name":"MaryEhb/image-processing-algorithms","owner":"MaryEhb","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-03T12:51:25.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T21:08:53.181Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/MaryEhb.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,"dei":null}},"created_at":"2024-03-03T12:37:51.000Z","updated_at":"2024-03-03T12:48:56.000Z","dependencies_parsed_at":"2024-03-03T13:51:48.561Z","dependency_job_id":null,"html_url":"https://github.com/MaryEhb/image-processing-algorithms","commit_stats":null,"previous_names":["maryehb/image-processing-algorithms"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaryEhb%2Fimage-processing-algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaryEhb%2Fimage-processing-algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaryEhb%2Fimage-processing-algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaryEhb%2Fimage-processing-algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaryEhb","download_url":"https://codeload.github.com/MaryEhb/image-processing-algorithms/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241078473,"owners_count":19905863,"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":"2024-11-12T02:17:38.225Z","updated_at":"2025-02-28T00:19:53.772Z","avatar_url":"https://github.com/MaryEhb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Processing Algorithms\n\nThis repository contains a collection of image processing algorithms implemented in Python. The algorithms provided include dithering, color manipulation, and various blur filters.\n\n## Table of Contents\n- [Dithering Algorithms](#dithering-algorithms)\n- [Color Manipulations](#color-manipulations)\n- [Blur Filters](#blur-filters)\n- [Usage](#usage)\n- [Future Modifications](#future-modifications)\n\n## Dithering Algorithms\n\nThe dithering algorithms provided in this repository include:\n- **Threshold Dithering**: Applies a threshold value to each pixel to convert the image into black and white.\n- **Floyd-Steinberg Error Diffusion Dithering**: Diffuses quantization errors to neighboring pixels.\n- **Ordered Dithering**: Applies dithering using a predefined threshold matrix.\n- **Pattern Dithering**: Applies dithering using a pattern matrix.\n- **Cross-Dissolve**: Blends two images using a specified alpha value.\n- **Dither-Dissolve**: Blends two images using dithering and a specified alpha value.\n\n## Color Manipulations\n\nThe color manipulation functions provided include:\n- **Inverted**: Produces the inverted image of the input.\n- **BGR to RGB**: Converts the image from BGR to RGB color space.\n- **RGB to Grayscale**: Converts the image to grayscale using the luminosity method.\n- **BGR to Grayscale**: Converts the image from BGR to grayscale.\n- **HSV to Grayscale**: Converts the image from HSV to grayscale using the Value component.\n- **CMY to Grayscale**: Converts the image from cyan, magenta, and yellow (CMY) to grayscale.\n- **CMYK to Grayscale**: Converts the image from CMYK to grayscale.\n- **YCbCr to Grayscale**: Converts the image from YCbCr to grayscale by extracting the Y component.\n\n## Blur Filters\n\nThe blur filters provided include:\n- **Average Blur**: Applies an average blur filter to the image.\n- **Gaussian Blur**: Applies a Gaussian blur filter to the image.\n- **Median Blur**: Applies a median blur filter to the image.\n\n## Usage\n\nTo use these algorithms, simply import the respective Python modules and call the appropriate functions with your input images.\n\n```python\nfrom algorithms.dithering_algorithms import *\nfrom algorithms.color_manipulations import *\nfrom algorithms.blur_filters import *\n\n# Load an image\nimage_path = 'test.jpg'\nimg = cv2.imread(image_path)\n\n# Apply a dithering algorithm\nnew_img = floyd(img, threshold=128)\n\n# Display the processed image\nplt.imshow(new_img, cmap='gray')\nplt.title('Processed Image')\nplt.show()\n```\n\n## Future Modifications\nThis repository is a work in progress, and more modifications and additional algorithms will be added in the future. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaryehb%2Fimage-processing-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaryehb%2Fimage-processing-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaryehb%2Fimage-processing-algorithms/lists"}