How to binarize an image based on selected color

fiji
imagej

#1

I have the following image:

captured

What I want to do is to binarize the image so that it only retain the BLUE particles.
i.e. the binarize image will have blue particles as white and the rest is black.

How can I do that?


#2

The answer to the following question:

also answers this one on how to binarize. You simply use the Analyze Particls function with the show option set to Masks


#3

Good day,

here is a binary result obtained from thresholding the Red RGB-channel of your image with the default threshold
BlueFromRed

and here is a non-thresholded Cyan-excerpt of your image after RGB to CMYK conversion:
BlueFromCyan

HTH

Herbie


#4

Can you provide the macro code for generating that figure?


#5

Please use the macro recorder when performing the steps indicated in my previous post:

A

  1. Split Channels
  2. Default Threshold applied to the Red Channel

B

  1. RGB to CMYK
  2. Split Channels
  3. Use Cyan Channel
    (4. Apply an automatic threshold to get a binary image)

HTH

Herbie