Topic: imageData test for yellow tones and orange tones |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: Portland Oregon |
posted 11-10-2009 03:00
I'm using a function that gets the pixel color of the mouse coords on the canvas and switches the opacity on colors that are within a sensitivity range. The problem I have is I need to figure a better way to apply the sensitivity based on what color the mouse is on. |
Paranoid (IV) Inmate From: Norway |
posted 11-10-2009 12:06 |
Nervous Wreck (II) Inmate From: Portland Oregon |
posted 11-10-2009 23:37
Here's what I got so far. I managed to at least change the right pixels to the color I set. |
Paranoid (IV) Inmate From: cell 3736 |
posted 11-11-2009 10:47
maybe it would be easier to calculate hue from rgb and then decide on tolerance |
Nervous Wreck (II) Inmate From: Portland Oregon |
posted 11-13-2009 02:13
I managed to make it do what I was trying to do, which is highlight the colors of the open source street maps. |
Nervous Wreck (II) Inmate From: |
posted 03-30-2010 09:42
Edit by mr.maX: Removed spam. |
Nervous Wreck (II) Inmate From: |
posted 05-31-2011 11:03
Edit TP: spam removed
|