9
votes
1answer
264 views

How to find a specific color in one picture?

In a picture, there are many different colors. How can I just want to find the position of one color. In the following picture, if I would like to find the coordinates of the position of blue, how can ...
1
vote
1answer
120 views

Remove overlapping red and green color

How to remove overlapping red and green color regions, leaving only red ones?
1
vote
2answers
156 views

Image's pixels GPU colour classes splitting

How can I split in color classes, the pixels of an image that I load in Mathematica? I would an output like this: ...
3
votes
2answers
173 views

How can I detect and modify one area of an image while preserving the rest

I have an image with a big black disk bounded by a white boundary in its center. The image contains some other stuff outside of the spot and its boundary. This stuff has colors which include both ...
17
votes
1answer
315 views

Color scheme used by Colorize?

The Colorize function is often used to display the results produced by MorphologicalComponents: ...
14
votes
6answers
1k views

How to find major color in a picture?

I want to find the major color (the color which appears most often) in a picture and do some analysis later. For example, if I have this picture: What I want to do is find out that gray, red, ...
5
votes
3answers
422 views

Parameters for the CIE XYZ Color Space in Mathematica

In Mathematica, producing a color based on its RGB parameters is easy; one can use (for example) ...
3
votes
2answers
345 views

HSB -> HSL Converter

Starting from an image I would like to apply a custom filter to an image. I have thought and implemented this filter in HSL space and it goes like this : Boost the saturation of the pixels that ...
12
votes
2answers
230 views

Why does DominantColors keep shuffling the order of the results?

This graphic is produced by running DominantColors (new in Mathematica 9) with different values, using the Lena image as the source: Each row is a list of the ...
25
votes
1answer
765 views

The correct way to linearize colorspace before resizing, blurring etc

There was an interesting discussion on MathGroups dealing with the fact that image-processing functions in Mathematica (and many other software, including Adobe Photoshop) work with RGB, Grayscale ...
2
votes
3answers
474 views

Color mixing or blend

Color mixing seems not only one type. Here is RGB_color_model I wrote this one: ...