Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
color transformation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 63 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Steven Killingbeck MMCP, ACE, CSM  
View profile  
 More options Jul 3, 2:57 pm
From: "Steven Killingbeck MMCP, ACE, CSM" <smk.flash4h...@gmail.com>
Date: Fri, 3 Jul 2009 13:57:23 -0500
Local: Fri, Jul 3 2009 2:57 pm
Subject: color transformation
Hey C.T (Chi)...

Since your the local imaging and color expert :-) maybe you can help...

I have a source color, and a destination color, is there an easy way  
to determine the color transformation matrix that i would need to  
apply to go from the source to the destination?

so the idea is I can take this transformation matrix and apply it to  
other colors and have a relative color transform from a new source  
color... to another destination color

Thanks!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chuckjr  
View profile  
 More options Jul 3, 4:12 pm
From: chuckjr <chuc...@stinkless.com>
Date: Fri, 3 Jul 2009 13:12:59 -0700 (PDT)
Local: Fri, Jul 3 2009 4:12 pm
Subject: Re: color transformation
Isn't there some bitwise operation you can do on two colors to
get the difference? I think Lee Brimelow talked about that in
his ByteArrays for Beginners presentation.

On Jul 3, 1:57 pm, "Steven Killingbeck MMCP, ACE, CSM"


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CT Yeung  
View profile  
 More options Jul 3, 6:57 pm
From: CT Yeung <yeu...@gmail.com>
Date: Fri, 3 Jul 2009 17:57:00 -0500
Subject: Re: [mnswf] Re: color transformation
Chuck, Steve,

Following both of your points, the idea of a "transform" is this black
box to convert a point in space, P (x,y,z) to somewhere else P'
(x',y'z').  If it was just 1 point, then yes, you can find an
"offset".

If you have many points, and the delta for every point is the same,
again, you can use the offset just mentioned.

I did not attend the session where Lee Brimelow talked about color.
However, Brandon Hall did mention about a color correction component for Flex.
http://www.adobe.com/livedocs/flex/3/langref/flash/display/ColorCorre...

I have never worked with color management in Flex nor Flash as we
perform our transforms in the server side.
Everything in the client side is presumed sRGB.

If I am to "read" your mind.... you are seeking for a way to create a
3x3 matrix that will roughly do the conversion (or from a display).
If so, you will need 5 points... 3 primaries, 1 white point, 1 black
point.  procedure is best described in detail by Dr. Hunt's text book,
Measuring Color.

Alternatives like International Color Consortium, (ICC), you will need
to create a profile or "mapping" between source to destination. Then
use this "map" to interpolate other points.  Linear, tetrahedral are
popular interpolations techniques.  Otherwise, if you have a random
set of mapping points, neural networks works too.  Most if not all
color device manufacturers provide ICC profile(s).  So hopefully you
don't need to create it.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CT Yeung  
View profile  
 More options Jul 3, 7:11 pm
From: CT Yeung <yeu...@gmail.com>
Date: Fri, 3 Jul 2009 18:11:59 -0500
Local: Fri, Jul 3 2009 7:11 pm
Subject: Re: [mnswf] Re: color transformation
Steve,

Speaking of local color expert...  Bruce Lindbloom should be a name
better recognized than mine.
http://www.brucelindbloom.com/

For those of us whom were professional in the early 90's; before the
time of ICC...
Bruce, a mathematician, was a pioneer in color management with his
software product, Candela.
This was a shrink-wrapped product that you could buy off the shelf to
create profiles and transform between color spaces.

CT


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CT Yeung  
View profile  
 More options Jul 3, 10:16 pm
From: CT Yeung <yeu...@gmail.com>
Date: Fri, 3 Jul 2009 21:16:13 -0500
Local: Fri, Jul 3 2009 10:16 pm
Subject: Re: [mnswf] Re: color transformation
Steve,

If it is of use to you, here is some code for a neural network I used
for color mapping.
http://www.ctyeung.com/Cplusplus/index.html

The basic method came from Tim Master's book (Signal Processing with
Neural Net) recommended by my mentor, Dave Adkins.
I experimented with this for an old HP scanner and Shinko thermal
printer at Datacard (some 14 years ago).
Think we had a sample size less than 200 and were able to obtain
result of delta E less than 2.
Training took a long time though... ran on a P90 for 4 to 6 hours ?

You will need to add your own code for feedback as well as UI.

CT


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven Killingbeck MMCP, ACE, CSM  
View profile  
 More options Jul 7, 7:08 pm
From: "Steven Killingbeck MMCP, ACE, CSM" <smk.flash4h...@gmail.com>
Date: Tue, 7 Jul 2009 18:08:23 -0500
Local: Tues, Jul 7 2009 7:08 pm
Subject: Re: [mnswf] Re: color transformation
Chuck...

I think that only works for simple color shifts between channels  
etc... there is alot i don't know about color...

On Jul 3, 2009, at 3:12 PM, chuckjr wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven Killingbeck MMCP, ACE, CSM  
View profile  
 More options Jul 7, 7:14 pm
From: "Steven Killingbeck MMCP, ACE, CSM" <smk.flash4h...@gmail.com>
Date: Tue, 7 Jul 2009 18:14:43 -0500
Local: Tues, Jul 7 2009 7:14 pm
Subject: Re: [mnswf] Re: color transformation
Chi,

sorry for the delay...

The Idea is... using some color space sRGB? go from 1 point(x,y,z) to  
another point(x,y,z) so figure out the transformation matrix to go  
from one to the other, then save that matrix

then I can use that same matrix on other points (creating a color  
shift) colorizing an image...

On Jul 3, 2009, at 5:57 PM, CT Yeung wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CT Yeung  
View profile  
 More options Jul 7, 7:16 pm
From: CT Yeung <yeu...@gmail.com>
Date: Tue, 7 Jul 2009 18:16:23 -0500
Local: Tues, Jul 7 2009 7:16 pm
Subject: Re: [mnswf] Re: color transformation
Did you have a specific question ?

I am not an expert but have taken color theory classes as well as
developed some color products.
And we can always ask Bruce Lindbloom !

On Tue, Jul 7, 2009 at 6:08 PM, Steven Killingbeck MMCP, ACE,


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven Killingbeck MMCP, ACE, CSM  
View profile  
 More options Jul 7, 7:24 pm
From: "Steven Killingbeck MMCP, ACE, CSM" <smk.flash4h...@gmail.com>
Date: Tue, 7 Jul 2009 18:24:02 -0500
Local: Tues, Jul 7 2009 7:24 pm
Subject: Re: [mnswf] Re: color transformation
good info... way over my head ;-)

On Jul 3, 2009, at 6:11 PM, CT Yeung wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven Killingbeck MMCP, ACE, CSM  
View profile  
 More options Jul 7, 7:27 pm
From: "Steven Killingbeck MMCP, ACE, CSM" <smk.flash4h...@gmail.com>
Date: Tue, 7 Jul 2009 18:27:46 -0500
Local: Tues, Jul 7 2009 7:27 pm
Subject: Re: [mnswf] Re: color transformation
Great stuff... Thanks!

On Jul 3, 2009, at 9:16 PM, CT Yeung wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CT Yeung  
View profile  
 More options Jul 7, 8:08 pm
From: CT Yeung <yeu...@gmail.com>
Date: Tue, 7 Jul 2009 19:08:16 -0500
Local: Tues, Jul 7 2009 8:08 pm
Subject: Re: [mnswf] Re: color transformation
Right, but color spaces are different between devices.
The conversion is the same at every point in the color space.

So, if you can get a "grid" of samples between the two spaces or some
large number of samples well distributed in the space... then you can
create a profile or formulation that defines your conversion.

To re-iterate... if you have a well defined grid, you can apply
rectilinear or tetrahedral interpolation to find the value.  If
random, neural network can be trained to produce good values.  There
are some methods that are in between like Sequential linear
interpolation (SLI).  Basically, it all comes down to your ability to
sort and interpolate lots of numbers fast.

On Tue, Jul 7, 2009 at 6:27 PM, Steven Killingbeck MMCP, ACE,


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Decoursey  
View profile  
 More options Jul 7, 8:12 pm
From: Paul Decoursey <p...@decoursey.net>
Date: Tue, 7 Jul 2009 19:12:24 -0500
Local: Tues, Jul 7 2009 8:12 pm
Subject: Re: [mnswf] Re: color transformation
Steve... what exactly are you doing... high level?  I've done some  
apps where we use blend modes to do color correction rather than a  
ColorTransform, it ran a little faster and our simple minds were  
better able to predict the results.  Perhaps the blend modes would  
work for you as well.

On Jul 7, 2009, at 6:14 PM, Steven Killingbeck MMCP, ACE, CSM wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CT Yeung  
View profile  
 More options Jul 7, 9:54 pm
From: CT Yeung <yeu...@gmail.com>
Date: Tue, 7 Jul 2009 20:54:05 -0500
Local: Tues, Jul 7 2009 9:54 pm
Subject: Re: [mnswf] Re: color transformation
Paul,  how do you correct color with blendmode ?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Decoursey  
View profile  
 More options Jul 7, 10:16 pm
From: Paul Decoursey <p...@decoursey.net>
Date: Tue, 7 Jul 2009 21:16:33 -0500
Local: Tues, Jul 7 2009 10:16 pm
Subject: Re: [mnswf] Re: color transformation

Perhaps it's my design background that allows me to already know these  
kinds of things.  You can really do a lot with Blend modes, here is a  
course on lynda.com http://www.lynda.com/home/DisplayCourse.aspx?lpk2=48372
  that covers some of the basics. The most common things we can do  
with the blend modes is make tonal adjustments, like fixing exposure.  
You can also use them to do color adjustments by overlaying solid  
colors at varying alpha using multiply or lighten.  You can even do  
sharpening with blend modes, that requires some threshold or kernel  
operations as well however.

Using blend modes is kind of cheating, but it's non-destructive,  
relatively fast and easy to implement.  It doesn't really give you the  
same kind of control that a transform would, but the transform that  
Adobe provides doesn't give you all that much to play with anyway.

Paul

On Jul 7, 2009, at 8:54 PM, CT Yeung wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CT Yeung  
View profile  
 More options Jul 8, 7:59 am
From: CT Yeung <yeu...@gmail.com>
Date: Wed, 8 Jul 2009 06:59:17 -0500
Local: Wed, Jul 8 2009 7:59 am
Subject: Re: [mnswf] Re: color transformation
As they say in the British Colony, Brilliant !

That is very cool that designers are taught to use modes like overlay,
alpha, difference, subtract, etc., to do color corrections.  Other
than with pixelbender in blendmode shader, I have only used blendmode
for image merge.  Thank you !  I learned something new.

But Steve knows all that... what is the real issue, Steve ?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven Killingbeck MMCP, ACE, CSM  
View profile  
 More options Jul 8, 12:08 pm
From: "Steven Killingbeck MMCP, ACE, CSM" <smk.flash4h...@gmail.com>
Date: Wed, 8 Jul 2009 11:08:14 -0500
Local: Wed, Jul 8 2009 12:08 pm
Subject: Re: [mnswf] Re: color transformation
Yes... my specific question I have asked... and have specified more  
and more each time...

But I'll try again... ;-) (I do appreciate your help!!!) Thank you!

So I have a color any color but I'll choose one just for this example,  
we'll call it the source color

Source Color: 0xFFCDCD

now lets say we have a destination color

Destination Color: 0x755104

so now I would like to determine(trace out) the color transformation  
matrix to go from source to destination within flash's color space

that's it!

On Jul 7, 2009, at 6:16 PM, CT Yeung wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shawn Sheely  
View profile  
 More options Jul 8, 12:19 pm
From: Shawn Sheely <s...@5gdm.net>
Date: Wed, 8 Jul 2009 11:19:37 -0500
Local: Wed, Jul 8 2009 12:19 pm
Subject: Re: [mnswf] Re: color transformation

Steve,

Someone updated Robert Penner's color transforms to AS3 - you can just  
call the color tween in Hex/alpha using any tweening engine.  I think  
Robert has the new files on his site.

http://www.robertpenner.com

Shawn Sheely

On Jul 8, 2009, at 11:08 AM, Steven Killingbeck MMCP, ACE, CSM wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Decoursey  
View profile  
 More options Jul 8, 12:24 pm
From: Paul Decoursey <p...@decoursey.net>
Date: Wed, 8 Jul 2009 11:24:32 -0500
Local: Wed, Jul 8 2009 12:24 pm
Subject: Re: [mnswf] Re: color transformation

See, that is why I was asking what he was doing from a high level  
perspective.  There are a number of tweening engines that can do color  
tweens.  And there are a lot of ways to simulate color correction.

So Steve, what are you doing?

On Jul 8, 2009, at 11:19 AM, Shawn Sheely wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven Killingbeck MMCP, ACE, CSM  
View profile  
 More options Jul 8, 12:32 pm
From: "Steven Killingbeck MMCP, ACE, CSM" <smk.flash4h...@gmail.com>
Date: Wed, 8 Jul 2009 11:32:26 -0500
Local: Wed, Jul 8 2009 12:32 pm
Subject: Re: [mnswf] Re: color transformation

I am doing exactly what I said... I don't want to tween to a color...  
I want to get the matrix from source to destination and save it and  
use it later with other colors...

On Jul 8, 2009, at 11:24 AM, Paul Decoursey wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Decoursey  
View profile  
 More options Jul 8, 12:40 pm
From: Paul Decoursey <p...@decoursey.net>
Date: Wed, 8 Jul 2009 11:40:33 -0500
Local: Wed, Jul 8 2009 12:40 pm
Subject: Re: [mnswf] Re: color transformation

High level... what are you doing????  I think that you are being too  
specific.  Are you recreating photoshop in Flash or are you changing  
the color of a button based on user selection?  is this pixelBender or  
just the ColorTransform class?  give more background info if you could.

On Jul 8, 2009, at 11:32 AM, Steven Killingbeck MMCP, ACE, CSM wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shawn Sheely  
View profile  
 More options Jul 8, 12:40 pm
From: Shawn Sheely <s...@5gdm.net>
Date: Wed, 8 Jul 2009 11:40:15 -0500
Local: Wed, Jul 8 2009 12:40 pm
Subject: Re: [mnswf] Re: color transformation

Well, you can do that just as easily I believe with Robert's utilitie  
classes.  You can retrieve static conversion, doesn't have to be a  
tween.  I may have a function for you, hold tight.

Shawn Sheely

On Jul 8, 2009, at 11:32 AM, Steven Killingbeck MMCP, ACE, CSM wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Colin Petit  
View profile  
 More options Jul 8, 12:45 pm
From: Colin Petit <co...@shot1.com>
Date: Wed, 8 Jul 2009 11:45:58 -0500
Local: Wed, Jul 8 2009 12:45 pm
Subject: Re: [mnswf] Re: color transformation

Maybe I'm over simplifying this, but could you just subtract the  
difference between the R, G, and B values of the two colors?

Source Color: 0xFFCDCD
Destination Color: 0x755104
red diff = 0xFF - 0x75
blue diff = 0xCD - 0x51
green diff = 0xCD - 0x04

On Jul 8, 2009, at 11:32 AM, Steven Killingbeck MMCP, ACE, CSM wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven Killingbeck MMCP, ACE, CSM  
View profile  
 More options Jul 8, 12:54 pm
From: "Steven Killingbeck MMCP, ACE, CSM" <smk.flash4h...@gmail.com>
Date: Wed, 8 Jul 2009 11:54:24 -0500
Local: Wed, Jul 8 2009 12:54 pm
Subject: Re: [mnswf] Re: color transformation

High level I am trying to blend the skin color of a photo to a solid  
color of a graphic or vice versa... automatically

so imagine a photo of youself then I want to say place bald head over  
yours so its your face with a bald head graphics overlaid and blended  
to you skin color, so whether your Caucasian, african, asian, etc...  
the bald head will look kind of natural...

if you all have better ideas... I am grateful to hear them... Thanks  
for your time :-)

On Jul 8, 2009, at 11:40 AM, Paul Decoursey wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chuck Stein  
View profile  
 More options Jul 8, 12:58 pm
From: Chuck Stein <cst...@gearmultimedia.com>
Date: Wed, 08 Jul 2009 11:58:58 -0500
Local: Wed, Jul 8 2009 12:58 pm
Subject: Re: [mnswf] Re: color transformation

I think CT said you need more data to figure out a transform.

Is it true that for any two colors itıs possible that more than one
transform gets you from here to there?

On 7/8/09 11:32 AM, "Steven Killingbeck MMCP, ACE, CSM"


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Decoursey  
View profile  
 More options Jul 8, 1:13 pm
From: Paul Decoursey <p...@decoursey.net>
Date: Wed, 8 Jul 2009 12:13:02 -0500
Local: Wed, Jul 8 2009 1:13 pm
Subject: Re: [mnswf] Re: color transformation

Blend modes...

Make your destination image relatively monotone or even greyscale.  
overlay the face using with a darken mode or maybe multiply, play  
around with them until you get the effect you want.

or

Layer 1 (in the back)
solid color, the skin-tone color (masked to the shape of the "skin").

Layer 2
the face, user uploaded I assume.  masked, however you want I guess.

Layer 3
highlights and shadows that represent the head, this would be a  
greyscale image.  Set the blendMode to OVERLAY.  You can also split it  
into two layers one for highlights and one for shadows, setting them  
to LIGHTEN and DARKEN respectively.

I think that it will still give you distinct lines where the face is  
masked, but if you do the overlays right it might not be real  
noticeable.  I've done this almost exact thing before, but not with  
people's faces, and we were mapping the result to a 3D object so the  
lines were not at all noticeable.

Doing it this way you don't need to calculate the difference, because  
your target image is neutral.  You could also try using OVERLAY on the  
"face" to alter people's skin tone.

Paul

On Jul 8, 2009, at 11:54 AM, Steven Killingbeck MMCP, ACE, CSM wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 63   Newer >
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google