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
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"
> 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
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 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.
On Fri, Jul 3, 2009 at 3:12 PM, chuckjr<chuc...@stinkless.com> wrote:
> 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.
>> 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
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.
On Fri, Jul 3, 2009 at 5:57 PM, CT Yeung<yeu...@gmail.com> wrote:
> 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 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.
> On Fri, Jul 3, 2009 at 3:12 PM, chuckjr<chuc...@stinkless.com> wrote:
>> 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.
>>> 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
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.
On Fri, Jul 3, 2009 at 6:11 PM, CT Yeung<yeu...@gmail.com> wrote:
> 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
> On Fri, Jul 3, 2009 at 5:57 PM, CT Yeung<yeu...@gmail.com> wrote:
>> 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 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.
>> On Fri, Jul 3, 2009 at 3:12 PM, chuckjr<chuc...@stinkless.com> wrote:
>>> 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.
>>>> 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
> 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.
>> 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
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...
> 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 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.
> On Fri, Jul 3, 2009 at 3:12 PM, chuckjr<chuc...@stinkless.com> wrote:
>> 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.
>>> 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
> 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:
>> 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.
>>> 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
> 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
> On Fri, Jul 3, 2009 at 5:57 PM, CT Yeung<yeu...@gmail.com> wrote:
>> 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 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.
>> On Fri, Jul 3, 2009 at 3:12 PM, chuckjr<chuc...@stinkless.com> wrote:
>>> 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.
>>>> 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
> 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
> On Fri, Jul 3, 2009 at 6:11 PM, CT Yeung<yeu...@gmail.com> wrote:
>> 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
>> On Fri, Jul 3, 2009 at 5:57 PM, CT Yeung<yeu...@gmail.com> wrote:
>>> 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 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.
>>> On Fri, Jul 3, 2009 at 3:12 PM, chuckjr<chuc...@stinkless.com>
>>> wrote:
>>>> 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.
>>>>> 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
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,
>> 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
>> On Fri, Jul 3, 2009 at 6:11 PM, CT Yeung<yeu...@gmail.com> wrote:
>>> 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
>>> On Fri, Jul 3, 2009 at 5:57 PM, CT Yeung<yeu...@gmail.com> wrote:
>>>> 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 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.
>>>> On Fri, Jul 3, 2009 at 3:12 PM, chuckjr<chuc...@stinkless.com>
>>>> wrote:
>>>>> 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.
>>>>>> 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
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:
> 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:
>> 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 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.
>> On Fri, Jul 3, 2009 at 3:12 PM, chuckjr<chuc...@stinkless.com> wrote:
>>> 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.
>>>> 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
On Tue, Jul 7, 2009 at 7:12 PM, Paul Decoursey<p...@decoursey.net> wrote:
> 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:
>> 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:
>>> 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 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.
>>> On Fri, Jul 3, 2009 at 3:12 PM, chuckjr<chuc...@stinkless.com> wrote:
>>>> 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.
>>>>> 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
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.
> On Tue, Jul 7, 2009 at 7:12 PM, Paul Decoursey<p...@decoursey.net>
> wrote:
>> 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:
>>> 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:
>>>> 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 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.
>>>> On Fri, Jul 3, 2009 at 3:12 PM, chuckjr<chuc...@stinkless.com>
>>>> wrote:
>>>>> 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.
>>>>>> 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
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 ?
On Tue, Jul 7, 2009 at 9:16 PM, Paul Decoursey<p...@decoursey.net> wrote:
> 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:
>> Paul, how do you correct color with blendmode ?
>> On Tue, Jul 7, 2009 at 7:12 PM, Paul Decoursey<p...@decoursey.net>
>> wrote:
>>> 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:
>>>> 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:
>>>>> 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 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.
>>>>> On Fri, Jul 3, 2009 at 3:12 PM, chuckjr<chuc...@stinkless.com>
>>>>> wrote:
>>>>>> 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.
>>>>>>> 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
> 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,
> CSM<smk.flash4h...@gmail.com> wrote:
>> 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:
>>> 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.
>>>> 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
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.
> 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:
>> 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,
>> CSM<smk.flash4h...@gmail.com> wrote:
>>> 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:
>>>> 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.
>>>>> 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
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.
> 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.
> On Jul 8, 2009, at 11:08 AM, Steven Killingbeck MMCP, ACE, CSM wrote:
>> 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:
>>> 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,
>>> CSM<smk.flash4h...@gmail.com> wrote:
>>>> 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:
>>>>> 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.
>>>>>> 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
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:
> 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:
>> 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.
>> On Jul 8, 2009, at 11:08 AM, Steven Killingbeck MMCP, ACE, CSM wrote:
>>> 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:
>>>> 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,
>>>> CSM<smk.flash4h...@gmail.com> wrote:
>>>>> 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:
>>>>>> 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.
>>>>>>> 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
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:
> 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:
>> 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:
>>> 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.
>>> On Jul 8, 2009, at 11:08 AM, Steven Killingbeck MMCP, ACE, CSM
>>> wrote:
>>>> 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:
>>>>> 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,
>>>>> CSM<smk.flash4h...@gmail.com> wrote:
>>>>>> 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:
>>>>>>> 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.
>>>>>>>> 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
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:
> 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:
>> 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:
>>> 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.
>>> On Jul 8, 2009, at 11:08 AM, Steven Killingbeck MMCP, ACE, CSM
>>> wrote:
>>>> 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:
>>>>> 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,
>>>>> CSM<smk.flash4h...@gmail.com> wrote:
>>>>>> 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:
>>>>>>> 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.
>>>>>>>> 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
> 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:
>> 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:
>>> 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.
>>> On Jul 8, 2009, at 11:08 AM, Steven Killingbeck MMCP, ACE, CSM
>>> wrote:
>>>> 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:
>>>>> 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,
>>>>> CSM<smk.flash4h...@gmail.com> wrote:
>>>>>> 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:
>>>>>>> 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.
>>>>>>>> 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
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:
> 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:
>> 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:
>>> 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:
>>>> 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.
>>>> On Jul 8, 2009, at 11:08 AM, Steven Killingbeck MMCP, ACE, CSM
>>>> wrote:
>>>>> 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:
>>>>>> 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,
>>>>>> CSM<smk.flash4h...@gmail.com> wrote:
>>>>>>> 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:
>>>>>>>> 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.
>>>>>>>>> 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
<smk.flash4h...@gmail.com> wrote: > 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...
> 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.
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:
> 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:
>> 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:
>>> 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:
>>>> 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:
>>>>> 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.
>>>>> On Jul 8, 2009, at 11:08 AM, Steven Killingbeck MMCP, ACE, CSM
>>>>> wrote:
>>>>>> 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:
>>>>>>> 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,
>>>>>>> CSM<smk.flash4h...@gmail.com> wrote:
>>>>>>>> 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:
>>>>>>>>> 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.
>>>>>>>>>> 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