[ANN] ImageColorThresholderApp.jl - GUI tool for thresholding color images

I am very pleased to announce the ImageColorThresholderApp.jl

ImageColorThresholderApp is a GUI application powered by Makie.jl, Inspired by MATLAB Color Thresholder app.

ImageColorThresholderApp is a GUI tool for segmenting color images. By using it threshold individual color channels or combinations of channels in different color spaces, such as RGB, HSV, Lab and YCbCr. This app generates binary segmentation mask and thresholded image for color images.

Here are features of ImageColorThresholderApp:

  • Threshold individual color channels or combinations of channels in different color spaces (RGB, HSV, Lab, YCbCr, etc.).
  • Adjust the threshold levels interactively.
  • Preview the thresholded image in real time.
  • Generate julia code to work space as well as external file.
  • Generate thresholded images and segmentation masks.

Usage

using GLMakie
using ImageColorThresholderApp
using TestImages

img = testimage("monarch_color")
image_color_thresholder_app(img)

Repo: GitHub - rakeshksr/ImageColorThresholderApp.jl: GUI tool for thresholding color images
Docs: Home · ImageColorThresholderApp

17 Likes

Very cool. Just tried this on my wallpaper, unfortunately this has led to me finding out that this is very slow on big images :frowning:

Thanks for feedback. I have found similar issue in Makie.

Follow these steps for large images

using GLMakie
using ImageColorThresholderApp
using FileIO
using ImageTransformations

# Load image
img = ....

# Resize image
rimg = imresize(img, ratio=1/4)

# Open ImageColorThresholderApp gui with resized image
image_color_thresholder_app(rimg)

# Do your stuff then export.

# Call image_color_threshold with original image
mask, timg = image_color_threshold(img, bg)