Questions tagged [color]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-3
votes
2answers
87 views

What is YIQ color model? [closed]

As we know that RGB monitors requires separates signals for red, green, and blue components of the image but television monitors uses single composite signals. For this composite signal use YIQ color ...
0
votes
1answer
44 views

Best data structure for searching best color match? (4D space)

My current color distance formula is a modified version of Euclidian distance (eDist) because with eDist I was noticing weird issues where blue could be used instead of green in some situations when ...
3
votes
1answer
5k views

How to Define the Bandwidth in Mean Shift Clustering?

I am making a program using Java todo colo quantization using mean shift clustering algorithm and the image is RGB with resolution of 512x512. I want to reduce the image file size by reducing the ...
2
votes
1answer
329 views

Can Mean Shift Algorithm used in color quantization?

I have a problem with deciding algorithm for color quantization. The image that I want to do color quantization is an RGB image with resolution 512 x 512. I want to reduce the color value in the pixel ...
-5
votes
2answers
5k views

Looking For Information about coloring/highlighting output text in python

one of the first modules I’m working on in a python program I’m putting together is a journal. I’m getting comfortable using the print function, but for this project it would be great if i Could ...
7
votes
1answer
3k views

Algorithms for color blending modes: hue, saturation, color, luminosity

I'm working on a JavaScript utility where I'm trying mix two colors in different ways. I basically want to cover the blend modes provided by Photoshop / the W3C spec on compositing and blending (which ...
0
votes
1answer
129 views

How does color search engine work?

From what I understand first you need to find the dominant colors in the images and store them inside a database. There's a script called "color thief" that does that beautifully. But chances are all ...
0
votes
1answer
78 views

How to change an specific part of an image colour? [closed]

I'm not so sure whether this questions fits here, but I need help in this case, cause I'm searching for days to apply this. I have a website of rugs and carpets, in this website I would like ...
1
vote
1answer
6k views

How to implement k-means algorithm on RGB Images?

I want to apply the k-means algorithm on an RGB image data-set. I don't know how to proceed. You can mention basic step by step flow to proceed. I do know basics of Image Processing & OpenCV.
1
vote
3answers
326 views

Nicest way to map RGB colors from HTML to LED

I have attached a RGB LED to a color picker on a webpage and have hit the obvious problem that though the LED takes 8-bit values (like HTML) the color rendering is very different so with the more ...
6
votes
1answer
326 views

Why are background-colors not or rarely used for syntax highlighting? [closed]

I wonder why I rarely see any IDEs or other developers that use background colors for syntaxhighlighting. One of the first things when installing and configuring a new IDE is adjusting the colors so ...
14
votes
3answers
625 views

When is it appropriate to use colour in a command-line application?

Currently I have a command-line application in C called btcwatch. It has a -C option that it can receive as an argument that compares the current price of Bitcoin with a price that was stored ...
1
vote
2answers
920 views

There are two types of color mixing: Additive and Subtractive. How about XOR-ive color? [closed]

There are two types of color mixing: Additive and Subtractive. http://en.wikipedia.org/wiki/Color_mixing Is is possible that color mixing model be done in XOR?
2
votes
1answer
2k views

Subtractive color mixing algorithm

Here is my problem: I have a set of 'n' colors including the primary colors and their codes in hexadecimal. Now given another color 'x' I wonder if it's actually possible to come up with a mix ...
19
votes
3answers
3k views

What algorithms are there for picking colors for plot lines on graphs?

I'm interested in what algorithms or rules I can programmatically implement to generate RGB or HSV colors for plotlines to keep them visually distinct from the neighbors. I know that in professional ...
1
vote
1answer
422 views

How to implement RGBA in 8-bit microcontroller?

I have successfully connected my microcontroller to my TV via through VGA adapter i made that convert digital to analog signals with the help of resistors. Currently i am utilizing 8 pins that I am ...
1
vote
1answer
2k views

How is a 256 bin HSV histogram quantised?

I am doing some research on the ScalableColor descriptor in MPEG-7 and I came across this passage: The descriptor extractions starts with the computation of the colour historgam with 25 bins in ...
3
votes
2answers
2k views

Graduated transition from Green - Yellow - Red

I am having algorithm mental block in designing a way to transition from Green to Red, as smoothly as possible with a, potentially, unknown length of time to transition. For testing purposes, I will ...
7
votes
2answers
8k views

Nearest color algorithm using Hex Triplet

Wikipedia has a list of colors that I am using for a basis of color names. I want to find the nearest named color given an arbitrary RGB value. For example #5D8AA8 hex triplet is "Air Force Blue". ...
3
votes
1answer
958 views

Is the Leptonica implementation of 'Modified Median Cut' not using the median at all?

I'm playing around a bit with image processing and decided to read up on how color quantization worked and after a bit of reading I found the Modified Median Cut Quantization algorithm. I've been ...
28
votes
13answers
3k views

A colourblind member of our team

My team relies a lot on colour within our code to outline features that need to be worked on (we colour lines of code that need attention). We have a close friend who is colourblind and wants to join ...
3
votes
1answer
895 views

Which UML colors should this example be represented by?

See UML colors here. Here is the example, I have following entity classes: User(name) MailBox(owner: User, label) Mail(from: User, to: User, subject, body, composeTime) MailCopy(type, from: User, ...
6
votes
6answers
20k views

Light bulb for prolonged computer use

I would like a recommendation on choosing which light-bulb type (e.g. CFL) and color temperature is best for prolonged computer usage. I am also in a field where color consistency is important so if ...
28
votes
9answers
30k views

Color schemes generation - theory and algorithms [closed]

I will be generating charts and diagrams and I am looking for some theory on color schemes and algorithm examples. Example questions: How to generate complementary or analogous colors? How to ...