An open API service indexing awesome lists of open source software.

https://github.com/agarnung/fourier-cropper

An application to filter an image in the frequency domain
https://github.com/agarnung/fourier-cropper

fourier-transform image-processing opencv qtcreator

Last synced: about 2 months ago
JSON representation

An application to filter an image in the frequency domain

Awesome Lists containing this project

README

          

# fourier-cropper
An application to filter an image in the frequency domain interactively


Simulator main window


Simulator in action

This project uses [OpenCV 4](https://github.com/opencv/opencv/tree/4.10.0) (see additional packages in https://docs.opencv.org/3.4/d7/d9f/tutorial_linux_install.html)

It is recommended build OpenCV with `-DOPENCV_GENERATE_PKGCONFIG=ON` see [this](https://stackoverflow.com/questions/15320267/package-opencv-was-not-found-in-the-pkg-config-search-path)

_TODO_:
- The idea will be binding all required libraries into a single AppImage, in order to ship the application directly
- Download sample images (directional patterns, noisy, etc.)
- Show the messagebox of on_filterPushButton_released in another thread to let the text and icon appear

---

**Local (Linux):** install `build-essential`, `qtbase5-dev`, `qttools5-dev-tools`, `pkg-config`, `libopencv-dev`; then `mkdir build && cd build && qmake CONFIG+=release ../fourier-cropper.pro && make -j$(nproc) && ./FourierCropper`.

**Docker:** `docker compose build && docker compose run --rm app` (GUI needs WSLg or X11; use `DISPLAY=:1 docker compose run --rm app` if not `:0`). The compose bind-mounts this repo to `/opt/fourier-cropper`—put images under the project on disk and open them from that path (e.g. `/opt/fourier-cropper/...`) in the file dialog.