GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Categories
  • Newsletter
  • Submit
  • Login
  • Awesome C++
  • Image Processing

This view

  • Original page
  • New address

GeezerVison is showing cpp.libhunt.com — FLOP Alternatives - C++ Image Processing | LibHunt

  • Subscribe
  • Submit
  • Categories
  • About
  • Login

FLOP

FLOꟼ - An MIT-licensed image viewer equipped with a GPU-accelerated perceptual image diffing algorithm based on ꟻLIP

jeremyong logo
Source Code    Changelog
Suggest Changes
Take the C++ Developer Survey - About 6 minutes on the tools, libraries and AI you use with C++. You get the results by email. Take the survey »
Popularity
2.0
Stable
Activity
0.0
Declining
Stars 68
Watchers 3
Forks 3
Last Commit over 4 years ago

Description

Prebuilt Single-file Binaries - currently Windows only

FLOꟼ (FLOP with a backwards P if rendered correctly) is an MIT-licensed image viewer equipped with a GPU-accelerated perceptual image diffing algorithm based on ꟻLIP. Read the accompanying blog post here.

The tool is usable either as a standalone executable for comparing images, or as a library to programmatically compare images and retrieve a comparison summary and write results to disk.

Minor note regarding software build and runtime requirements: This software was written and tested on one machine, with a certain set of capabilities afforded to it. Additional testing and possible changes are needed to verify correct operation on other drivers/platforms/hardware before relaxing requirements.

Programming language: C++
License: MIT License
Tags: Graphics     Image Processing     Vulkan    
Latest version: v1.61803

FLOP alternatives and similar libraries

Based on the "Image Processing" category.
Alternatively, view flop alternatives based on common mentions on social networks and blogs.

  • OpenCV

    10.0 9.9 L1 FLOP VS OpenCV
    Open Source Computer Vision Library
    opencv logo
  • tesseract-ocr

    9.9 9.3 L1 FLOP VS tesseract-ocr
    Tesseract Open Source OCR Engine (main repository)
    tesseract-ocr logo
  • SaaSHub - Software Alternatives and Reviews

    SaaSHub helps you find the best software and product alternatives
    Promo www.saashub.com
    SaaSHub Logo
  • libvips

    9.0 9.4 L3 FLOP VS libvips
    A fast image processing library with low memory needs.
    libvips logo
  • OpenMVG (open Multiple View Geometry)

    8.6 4.6 FLOP VS OpenMVG (open Multiple View Geometry)
    open Multiple View Geometry library. Basis for 3D computer vision and Structure from Motion.
    openMVG logo
  • VTK

    8.0 10.0 L1 FLOP VS VTK
    Mirror of Visualization Toolkit repository
    Kitware logo
  • OpenImageIO

    7.4 9.7 L1 FLOP VS OpenImageIO
    Reading, writing, and processing images in a wide variety of file formats, using a format-agnostic API, aimed at VFX applications.
    AcademySoftwareFoundation logo
  • OpenEXR

    7.1 9.6 L1 FLOP VS OpenEXR
    The OpenEXR project provides the specification and reference implementation of the EXR file format, the professional-grade image storage format of the motion picture industry.
    AcademySoftwareFoundation logo
  • ITK

    7.0 10.0 L2 FLOP VS ITK
    Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
    InsightSoftwareConsortium logo
  • CImg

    6.4 9.7 FLOP VS CImg
    The CImg Library is a small and open-source C++ toolkit for image processing
    GreycLab logo
  • Magick++

    6.3 2.5 FLOP VS Magick++
    Go binding to ImageMagick's MagickWand C API
    gographics logo
  • GD

    5.7 9.2 L2 FLOP VS GD
    GD Graphics Library
    libgd logo
  • Video++

    4.8 0.0 L2 FLOP VS Video++
    Video++, a C++14 high performance video and image processing library.
    matt-42 logo
  • VIGRA

    4.6 6.2 L1 FLOP VS VIGRA
    a generic C++ library for image analysis
    ukoethe logo
  • hiptext

    4.5 0.0 L3 FLOP VS hiptext
    Turn images into text better than caca/aalib
    jart logo
  • GDCM

    4.4 9.2 L1 FLOP VS GDCM
    Grassroots DICOM read-only mirror. Only for Pull Request. Please report bug at http://sf.net/p/gdcm
    malaterre logo
  • SVG++

    4.4 5.4 L3 FLOP VS SVG++
    C++ SVG library
    svgpp logo
  • AVIR

    4.0 1.7 FLOP VS AVIR
    High-quality pro HDR image resizing / scaling C++ library, including a very fast, precise, SIMD Lanczos resizer (header-only C++)
    avaneev logo
  • Boost.GIL

    3.8 8.2 L3 FLOP VS Boost.GIL
    Boost.GIL - Generic Image Library | Requires C++14 since Boost 1.80
    boostorg logo
  • SAIL

    3.5 9.5 FLOP VS SAIL
    ⛵The missing fast imaging library for humans (not for machines).
    HappySeaFox logo
  • CxImage

    3.2 0.0 L1 FLOP VS CxImage
    DISCONTINUED. An image processing and conversion library to load, save, display, transform BMP, JPEG, GIF, PNG, TIFF, MNG, ICO, PCX, TGA, WMF, WBMP, JBG, J2K images. [zlib]
  • FreeImage

    2.5 0.0 L2 FLOP VS FreeImage
    A custom distribution of FreeImage, with a CMake-based build system. Used by the Athena Game Framework.
    Kanma logo
  • ULIS

    1.8 6.7 FLOP VS ULIS
    DISCONTINUED. Utility Library for Imaging Systems
    Praxinos logo
  • DCMTK

    - FLOP VS DCMTK
    DICOM Toolkit.

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.

Do you think we are missing an alternative of FLOP or a related project?

Add another 'Image Processing' Library

Popular Comparisons

  • FLOP
    vs
    VTK
  • FLOP
    vs
    tesseract-ocr
  • FLOP
    vs
    OpenCV
  • FLOP
    vs
    OpenMVG (open Multiple View Geometry)
  • FLOP
    vs
    Magick++

README

FLOꟼ

image

Prebuilt Single-file Binaries - currently Windows only

FLOꟼ (FLOP with a backwards P if rendered correctly) is an MIT-licensed image viewer equipped with a GPU-accelerated perceptual image diffing algorithm based on ꟻLIP. Read the accompanying blog post here.

The tool is usable either as a standalone executable for comparing images, or as a library to programmatically compare images and retrieve a comparison summary and write results to disk.

Minor note regarding software build and runtime requirements: This software was written and tested on one machine, with a certain set of capabilities afforded to it. Additional testing and possible changes are needed to verify correct operation on other drivers/platforms/hardware before relaxing requirements.

https://user-images.githubusercontent.com/250149/154824329-fd790c14-b228-4ca7-b384-3c372e72b09e.mp4

Build prerequisites

  • Relatively modern C++ compiler (some C++20 features are used)
  • CMake 3.21+
  • VulkanSDK 1.2.198.1

Build instructions

# Supply a custom generator with -G if you don't want the default one
# Pass -DFLOP_BUILD_EXE=OFF if you don't want to build the standalone executable
# Pass -DFLOP_BUILD_TESTS=ON if you want to compile and run the tests
cmake -B build -S .
cmake --build build

The first-time generation time will seem long because several dependencies are being fetched. The dependencies used are:

  • GLFW (zlib/libpng)
  • Volk (MIT)
  • Dear ImGui (MIT)
  • DirectXShaderCompiler (LLVM)
  • VulkanMemoryAllocator (MIT)
  • CLI11 (BSD 3-clause)
  • stb (MIT)
  • tinyexr (BSD 3-clause)

By default, both the library target and standalone executable are built. If you wish to link the library against your own code, you may either link the lflop library target in cmake, or manually link the compiled library through some other mechanism. The executable itself is simply flop.exe (or just flop on Linux).

Runtime requirements

  • GPU with recent driver
  • Windows 10+

Linux support should be relatively easy to provide, but is not yet tested. MacOS support will require integration with the MoltenVK framework.

Usage

The flop.exe can be run without any arguments and is a fully self-contained executable (no installation is required). When launched in this way, an empty window with a few UI controls to select some images and begin the comparison as seen in the demo above.

Alternatively, command line options may be passed to optionally run FLOꟼ in headless mode, and supply image paths. The full help text (obtainable by passing -h or --help) is reproduced below.

An image comparison tool and visualizer. All options are optional unless headless mode is requested.
Usage: FLOP [OPTIONS]

Options:
  -h,--help                   Print this help message and exit
  -r,--reference TEXT         Path to reference image
  -t,--test TEXT              Path to test image
  -o,--output TEXT            Path to output file.
  -e,--exposure FLOAT         Exposure to apply to an HDR image (log 2 stops)
  --tonemapper ENUM:value in {ACES->1,Reinhard->2,Hable->3} OR {1,2,3}
                              HDR to LDR tonemapping operator
  --hl,--headless             Request that a gui not be presented
  -f,--force                  Overwrite image if file exists at specified output path

FLOꟼ may also be used as a library. The test/ folder demonstrates how to link and programmatically analyze LDR or HDR images.

Differences from the original algorithm

The original paper assumes fully opaque color values, but it is sometimes useful to compare differences in images that possess an alpha channel. FLOꟼ accommodates this by detecting the presence of the alpha channel and scaling the Yy component in linearized Lab space prior to the constrast sensitivity filters.

The HDR FLOꟼ algorithm simply tonemaps both reference and test HDR inputs to LDR ranges with a specified global exposure. This is done currently for speed (less than 100 ms on my machine), but an local tonemapping operator or exposure bracketing may be an option in the future.

Limitations

While FLOꟼ is implemented on the GPU, minimal profiling was actually done to fully optimize it. Performance varies based on image size. The various kernel weights themselves are currently hardcoded in the shader bytecode. This may be relaxed in the future.

The HDR-ꟻLIP algorithm doesn't require specifying exposure when HDR images are supplied. It operates by automatically determining the exposure range, compute the ꟻLIP error for each exposure, then taking the maximum error per-pixel. FLOꟼ on the other hand, is meant to be used interactively, so it's recommended that the GUI be used to determine the appropriate exposure when analyzing HDR images.

References

  • LDR ꟻLIP
  • HDR ꟻLIP


*Note that all licence references and agreements mentioned in the FLOP README section above are relevant to that project's source code only.

Do not miss the trending, libraries, news and articles with our weekly report.

Awesome C++ is part of the LibHunt network. Terms. Privacy Policy.

(CC)
BY-SA
Spin The Wheel Of Names for a cryptographically secure random name picker.
Schedule a when to meet poll.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.