{"id":28562387,"url":"https://github.com/shaymorad/lightricks-home-assignment","last_synced_at":"2026-05-06T11:35:15.380Z","repository":{"id":298176330,"uuid":"999129745","full_name":"ShayMorad/Lightricks-Home-Assignment","owner":"ShayMorad","description":"My implementation of the home assignment given by the company Lightricks.","archived":false,"fork":false,"pushed_at":"2025-06-09T20:07:24.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-09T20:29:48.688Z","etag":null,"topics":["cli-app","home-assignment","image-processing","json","jsonschema","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShayMorad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-06-09T19:32:56.000Z","updated_at":"2025-06-09T20:17:02.000Z","dependencies_parsed_at":"2025-06-09T20:41:04.739Z","dependency_job_id":null,"html_url":"https://github.com/ShayMorad/Lightricks-Home-Assignment","commit_stats":null,"previous_names":["shaymorad/lightricks-home-assignment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayMorad%2FLightricks-Home-Assignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayMorad%2FLightricks-Home-Assignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayMorad%2FLightricks-Home-Assignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayMorad%2FLightricks-Home-Assignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShayMorad","download_url":"https://codeload.github.com/ShayMorad/Lightricks-Home-Assignment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayMorad%2FLightricks-Home-Assignment/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259072783,"owners_count":22801082,"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":["cli-app","home-assignment","image-processing","json","jsonschema","python3"],"created_at":"2025-06-10T12:08:45.590Z","updated_at":"2026-05-06T11:35:15.301Z","avatar_url":"https://github.com/ShayMorad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1 align=\"center\" style=\"border-bottom: none\"\u003e\u003cb\u003eAdvanced Image Editing System\u003c/b\u003e\u003c/h1\u003e\n\n  \u003cp align=\"center\"\u003e\n  This project was developed as part of the \u003cb\u003eLightricks Students Home Assignment\u003c/b\u003e.\n  \u003cbr\u003e\n  It showcases an image editing tool built from scratch in Python, using \u003cb\u003eNumPy\u003c/b\u003e for core operations and implementing convolution-based filters and adjustments without any external image-processing libraries.\n  \u003cbr\u003e\n  The system is modular, extensible, and configurable via a \u003cb\u003eJSON file\u003c/b\u003e, and supports both saving and displaying the final result.\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n\u003cdiv align=\"left\"\u003e\n  \u003ch2 align=\"left\" style=\"border-bottom: 1px solid gray\"\u003eFeatures\u003c/h2\u003e\n  \u003col align=\"left\"\u003e\n    \u003cli\u003e\u003cb\u003eModular Design\u003c/b\u003e - Each operation is cleanly separated to allow for easy extension and maintenance.\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eJSON-Based Configuration\u003c/b\u003e - Users can define image paths, filters, parameters, and save/display options using a structured input file.\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eSupported Filters\u003c/b\u003e:\n      \u003cul\u003e\n        \u003cli\u003e\u003cb\u003eBox Blur\u003c/b\u003e – Averages pixel values in an X×Y neighborhood to produce a softened effect.\u003c/li\u003e\n        \u003cli\u003e\u003cb\u003eSobel Edge Detection\u003c/b\u003e – Highlights image edges using horizontal and vertical gradient kernels.\u003c/li\u003e\n        \u003cli\u003e\u003cb\u003eSharpen\u003c/b\u003e – Enhances image details using the unsharp masking technique.\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eSupported Adjustments\u003c/b\u003e:\n      \u003cul\u003e\n        \u003cli\u003e\u003cb\u003eBrightness\u003c/b\u003e – Adjusts pixel intensity globally.\u003c/li\u003e\n        \u003cli\u003e\u003cb\u003eContrast\u003c/b\u003e – Stretches or compresses pixel value distribution.\u003c/li\u003e\n        \u003cli\u003e\u003cb\u003eSaturation\u003c/b\u003e – Modifies color vibrancy (in RGB approximation).\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eSequential Layering\u003c/b\u003e - Applies operations in the exact order specified by the user.\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eValidation \u0026 Error Handling\u003c/b\u003e - Provides clear messages for invalid configuration files.\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eDisplay or Save Output\u003c/b\u003e - Allows visualizing the result or saving it to a file based on user input.\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eCLI Integration\u003c/b\u003e - Run the tool via command line with a single command.\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n\u003cdiv align=\"left\"\u003e\n  \u003ch2 align=\"left\" style=\"border-bottom: 1px solid gray\"\u003eMedia\u003c/h2\u003e\n\n  \u003cp\u003eHere are a few examples of images edited using the tool and the filters described above:\u003c/p\u003e\n\n  \u003cdiv align=\"left\"\u003e\n    \u003ch4\u003eOriginal Image\u003c/h4\u003e\n    \u003cimg src=\"./media/cat.jpg\" width=\"300px\" /\u003e\n    \u003ch4\u003eBox Blur (5x5)\u003c/h4\u003e\n    \u003cimg src=\"./media/cat_blurred.jpg\" width=\"300px\" /\u003e\n    \u003ch4\u003eSobel Edge Detection\u003c/h4\u003e\n    \u003cimg src=\"./media/blurry_edged.jpg\" width=\"300px\" /\u003e\n    \u003ch4\u003ePipeline (multiple filters layered)\u003c/h4\u003e\n    \u003cimg src=\"./media/pipelined.jpg\" width=\"300px\" /\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n\u003cdiv align=\"left\"\u003e\n  \u003ch2 align=\"left\" style=\"border-bottom: 1px solid gray\"\u003eRunning the Project\u003c/h2\u003e\n\n  \u003cp\u003eTo try it out locally, follow these steps:\u003c/p\u003e\n  \u003col align=\"left\"\u003e\n    \u003cli\u003eClone the repository: \u003ccode\u003egit clone \u0026lt;url\u0026gt;\u003c/code\u003e\u003c/li\u003e\n    \u003cli\u003eOpen the folder in your preferred code editor\u003c/li\u003e\n    \u003cli\u003e\u003ci\u003eOptional:\u003c/i\u003e Set up a virtual environment using \u003ccode\u003epython3 -m venv venv\u003c/code\u003e\u003c/li\u003e\n    \u003cli\u003eInstall dependencies: \u003ccode\u003epip install -r requirements.txt\u003c/code\u003e\u003c/li\u003e\n    \u003cli\u003eRun the editor with: \u003ccode\u003epython3 edit_image.py --config path/to/config.json\u003c/code\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n\u003cdiv align=\"left\"\u003e\n  \u003ch2 align=\"left\" style=\"border-bottom: 1px solid gray\"\u003eExample JSON Configuration\u003c/h2\u003e\n\n```json\n{\n  \"input\": \"image.png\",\n  \"output\": \"output.png\",\n  \"display\": true,\n  \"operations\": [\n    {\n      \"type\": \"brightness\",\n      \"value\": 0.6\n    },\n    {\n      \"type\": \"box\",\n      \"width\": 5,\n      \"height\": 3\n    },\n    {\n      \"type\": \"contrast\",\n      \"value\": -3\n    }\n  ]\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaymorad%2Flightricks-home-assignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaymorad%2Flightricks-home-assignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaymorad%2Flightricks-home-assignment/lists"}