{"id":21589664,"url":"https://github.com/aetheryx/image-resizing","last_synced_at":"2025-03-18T09:43:56.264Z","repository":{"id":261955476,"uuid":"885823297","full_name":"aetheryx/image-resizing","owner":"aetheryx","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-11T17:09:07.000Z","size":302,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-24T16:14:44.676Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/aetheryx.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,"publiccode":null,"codemeta":null}},"created_at":"2024-11-09T13:46:12.000Z","updated_at":"2024-11-11T17:09:11.000Z","dependencies_parsed_at":"2024-11-09T14:37:21.096Z","dependency_job_id":null,"html_url":"https://github.com/aetheryx/image-resizing","commit_stats":null,"previous_names":["aetheryx/image-resizing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aetheryx%2Fimage-resizing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aetheryx%2Fimage-resizing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aetheryx%2Fimage-resizing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aetheryx%2Fimage-resizing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aetheryx","download_url":"https://codeload.github.com/aetheryx/image-resizing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244198189,"owners_count":20414439,"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-24T16:15:24.937Z","updated_at":"2025-03-18T09:43:56.238Z","avatar_url":"https://github.com/aetheryx.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# image-resizing\nThis repository includes the source code, tooling and statistical analysis for the SE R\u0026D research paper.\n\n## Application\n### Setup (macOS)\n1. Install the C++ compiler through Xcode: `xcode-select --install`\n2. Install the `ImageMagick` programs through Brew: `brew install imagemagick`\n3. Install the `just` recipe runner through Brew: `brew install just`\n\n### Setup (GPUs)\n1. Deploy a server with an NVIDIA GPU, e.g. from [TensorDock](https://www.tensordock.com/)\n2. Install the CUDA toolkit from [developer.nvidia.com](https://developer.nvidia.com/cuda-downloads?target_os=Linux\u0026target_arch=x86_64\u0026Distribution=Ubuntu\u0026target_version=22.04\u0026target_type=deb_network)\n3. Install the `ImageMagick` programs through apt: `sudo apt install imagemagick`\n4. Install the `just` recipe runner, see [casey/just](https://github.com/casey/just?tab=readme-ov-file#linux).\n\n### Usage\n1. `mkdir build \u0026\u0026 mkdir input_images`\n2. Generate the input images from a URL using `just gen_inputs`, e.g. `just gen_inputs https://4kwallpapers.com/images/wallpapers/mclaren-w1-supercar-7680x4320-19246.jpg`\n3. Now you can run the application: run `just run \u003cplatform\u003e \u003calgorithm\u003e`, e.g. `just run cpu bilinear-interpolation`. This will write the downsized image to `build/output.rgba`\n4. To convert the image from RGBA to PNG and open it, run `just render \u003csize\u003e`, where `\u003csize\u003e` is the output resolution configured by the scaling factor in `src/constants.hpp`. Example: `just render 1920x1080`\n\n## Benchmarks\n- Raw data was generated using [`benchmarking/runner/run.js`](benchmarking/runner/run.js), which runs each configuration (across factors, platforms and algorithms) 10 times.\n- Data is aggregated to a CSV file using [`benchmarking/runner/aggregate.js`](benchmarking/runner/aggregate.js).\n- CSV file is read by the Jupyter notebooks, which use pandas and matplotlib to generate graphs. See [bar](benchmarking/notebooks/bar.ipynb), [line](benchmarking/notebooks/line.ipynb) and [energy](benchmarking/notebooks/energy.ipynb).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faetheryx%2Fimage-resizing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faetheryx%2Fimage-resizing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faetheryx%2Fimage-resizing/lists"}