Lulumoy Studio

v1.0.0 · Free & open source

Lulumoy Studio

An image editor that shows you the pixels — and the math.

Rotate, crop, straighten with affine and perspective transforms, apply filters with a live preview, convert images to SVG and repeat whole sequences of operations on other images. Built in C++ with GTK and OpenCV, for Windows and Linux.

Installer for 64-bit Windows. Linux and other options

Everything in one window

Lightweight, with drop-down menus and no clutter: only GTK and OpenCV underneath.

Geometric transforms

Rotate, flip and crop; affine (3 points) and perspective (4 points) transforms with the points picked by mouse — for example, to straighten a photographed document.

Filters with live preview

Gaussian, box, median, bilateral, sharpen, Canny, threshold, brightness/contrast and morphology. Each dialog shows the exact result before you apply it.

Pixel rulers

Rulers around the image, the pixel under the mouse with its value and a pixel grid when zoomed in, so you always know which pixels you are working on.

8 and 16 bits, gray and color

Convert between bit depths and between grayscale and color. 16-bit images keep their full precision and are saved as PNG or TIFF.

SVG vectorization

Turn an image into black-and-white vector paths with a live preview: Otsu or adaptive threshold, noise cleanup, simplification and smooth curves.

Reusable command chains

Every operation is recorded. Save the chain as a text file and apply it to other images, from the window or from the command line.

Properties and metadata

File details, EXIF and GPS metadata from JPEG, PNG, TIFF and WebP, embedded text and statistics of the image.

A guide to the math

Every parameter is explained with its formula, following the OpenCV functions the program uses. Press F1 or the Help button in any dialog.

Three languages, two systems

English, Spanish and Italian interface, on Windows and Linux. Free and open source under the MIT license.

Precision

See exactly which pixels you are editing

The rulers use the same coordinate system as OpenCV: the origin is the top-left corner, x grows to the right and y downwards. The ticks mark pixel edges, so pixel (x, y) is the square from x to x+1 and from y to y+1.

  • Rulers follow zoom and scrolling, with the mouse position marked in red
  • Value of the pixel under the mouse: RGB, RGBA or gray level, in 8 or 16 bits
  • Pixel grid at 800 % zoom and above
The coordinate system, explained →
Diagram: an 8 × 5 pixel image with rulers; pixel (3, 2) is highlighted under the mouse pointer and marked in red on both rulers.
G(x,y)=12πσ2e−x2+y22σ2 I′=G∗I
Gaussian blur: the image I is convolved with a Gaussian kernel G of standard deviation σ.

Understand the parameters

The math behind every setting

The guide explains what each operation computes and how each parameter changes the result, with the formulas of the OpenCV functions that Lulumoy Studio uses and references to the original works. It is built into the program, available offline, and published here as well.

Open the math guide →

For developers

A new tool is a single file

Operations live in core/modules/ and register themselves: the menu entry and the parameter dialog, with its live preview, are created automatically. Image processing (OpenCV) and the interface (GTK 3) are kept in separate libraries, and the C++17 code is documented with Doxygen.

How to add a module →
// core/modules/invert.cpp
class Invert final : public Operation {
    std::string id()    const override { return "filter.invert"; }
    std::string menu()  const override { return "edit/filters"; }
    std::string label() const override { return "Invert"; }
    cv::Mat apply(const cv::Mat& in, const ParamValues&) const override {
        cv::Mat out;
        cv::bitwise_not(in, out);
        return out;
    }
};
CVCORE_REGISTER_OPERATION(Invert)

The name

Why “Lulumoy”?

The name is inspired by Lulumoy, a deity in the cosmogony of the Pijao people of Tolima, Colombia, described as the god of wisdom. The project does not claim to represent the deity or to speak for the Pijao people: the name is a tribute to that cultural heritage.

Free to use, free to share

Lulumoy Studio is released under the MIT license. Download the installer for Windows or build it from source on Linux.