Human lips color transform

Hello everybody!
I’m trying to make photorealistic human lips color change.  I do following steps:
1.       Create photo bitmap copy and transform it to grayscale.
2.       Create sprite, fill it with necessary color and set BlenMode.OVERLAY to colorize the grayscale photo.
3.       After that I draw mask of lips form and apply it to container with grayscale photo and overlay sprite.
That’s how I make lips to have other color. But! I have two problems:
1.       Transformed lips color is not similar to applied color. Light colors especially...
2.       Lips mask has sharp edges so the lips doesn’t look realistic.
I will appreciate any advises and information of how to improve the quality of my work.

After more inspection, I've figured out it's not the
colorTransform causing the problem, it's turning a drop shadow
filter on or off...
Not sure how much code I would need to attach, but that's
where the problem is.
Thanks.

Similar Messages

  • Error in Dreamweaver: Unknown Adobe color transform code 2

    I am getting an error in Dreamweaver: Unknown Adobe color transform code 2. Can anyone tell me what is causing this and what to do?

    Not encountered that problem before, but unusual messages after performing a particular action in Dreamweaver are normally the sign that you have a corrupt cache file. Instructions on how to remove the corrupt file are here: http://forums.adobe.com/thread/494811.

  • Aperture 3 bug:Failed to create bitmap context color transform

    *Aperture 3 error*: Aperture[2000] <Error> Failed to create bitmap context color transform
    Aperture[2000] <Error> CGBitmapContextCreateWithData: failed to create delegate
    Using Aperture 3.03 and Mac OS 10.6.4, all updates included.
    This is the Console Message indicating the bug where Aperture 3.x cannot display in its viewer an image with an *embedded color profile*. These images (regardless whether tiff or jpegs) were displayed without problems in Aperture 2.x and do not pose any problems with Preview, Photoshop or Graphic Converter. If one converts the color profile to lets say ProPhoto or sRGB, Aperture works -
    but this is no solution as colors are different then.
    Is there any clue - based on the console message above - where the problem might be? The bug can be reproduced on different Mac Models with Aperture 3.x and vanishes with Aperture 2.x
    is not dependen

    Dear DLScreative,
    please let us not fight over words - fact is, that with at least 2 totally different users and 4 different Mac computers Aperture 3.x behaves totally different (i.e. cannot display these images) than Aperture 2.x. The special color profile is embedded because 15.000 images were scanned with a Nikon LS5000
    scanner. I don't know how to upload this color profile (which has been tested to be correct) to this
    forum. Would you care if I sent you an E-Mail with the special profile attached so you could yourself
    try and see?
    Regards,

  • Color transform reloads movieclip

    I have a movie clip with 4 frames. I programatically create 3
    instances of it, and send each one to a different frame. If I later
    apply a color transform to one of the clips, it plays through all
    the frames and goes back to it's correct frame. Why does it do
    that, and can I stop it from doing that?
    Thanks

    After more inspection, I've figured out it's not the
    colorTransform causing the problem, it's turning a drop shadow
    filter on or off...
    Not sure how much code I would need to attach, but that's
    where the problem is.
    Thanks.

  • How do I maintain color transformations

    I have movie clips with only text in them, whose color
    changes depending on user actions. As the swf plays the changes
    work fine, but if the user goes to a previous frame all the color
    changes are lost.
    I am using transform and colorTransform. I get the impression
    that the color transform actions are stored in an array and I need
    to access that array to set the new color permanently (meaning, the
    color only changes if the user specifically makes choices in that
    frame that will change it.
    I've attached the code I am using.
    Thanks for any help, inluding suggesting a better way to do
    this.

    For the most part, it will take care of itself. No defrag needed.   
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • Movieclip color transform

    Hello,
    I am building a Smile Face application.
    Where you choose a menu item and an object or "movieclip" is
    placed on the stage. You can drag and drop the object, take it to
    the trash and change the color on any of the objects on the stage
    at any time.
    I have 2 problems that I am looking for guidance on.
    1. The code I use to change the color of the object is bulky.
    As it is, depending upon the amount of objects you have in
    the menu,
    the code could grow to a painful amount making it difficult
    to manage.
    I am looking for a way to better my existing code, by
    upgrading it to a more advanced method.
    I have attached my code here.
    If anyone could help steer me in the right direction, I would
    appreciate it.
    Thanks,
    Matthew

    Thanks for the answer Rob.
    It works perfect.
    I apologize for my last tread not making much sense.
    I have one question, that I would like to find the answer to.
    Is there anyway to create this function.
    for (j in partsList) {
    partsList[j].onPress = choosePart;
    Without it being an onPress, onRelease, onRollOver or
    onRollOut function?
    I ask, because I am incorporating
    the "GreenSock transform manager"
    which is already using the onPress and onRelease function for
    the partsList.
    http://blog.greensock.com/transformmanageras2/)
    Hope that makes sense,
    Thanks.

  • Please help with color transform issue!

    Hi,
    How can I change the tint of my movieclip "mc_clip" from
    #000000 to #990000 in 15 frames by scripting it?...in the same time
    change the alpha value of the clip from 85% to 0%.
    thank you in advance,
    Attila

    the code below the dotted line will add a new method to the
    movieclip class. that method allows you to fade any movieclip from
    color rgb1 and alpha a1 to color rgb2 and alpha a2 in speed seconds
    using the number of steps specified in the last parameter:

  • Movieclip's children disappear on color transform

    I have a movieclip where I create a child display object
    (another MovieClip) in the constructor and show it with
    addChild();. However, later on in the code I modify the tint of the
    parent MovieClip using colorTransform. The child object then
    vanishes. Even if I do a removeChild/addChild after the tinting, it
    does not show. I don't understand why this is happening.. tint
    should just modify the color of everything, not hide children,
    right? See attached code for the way I am showing the child and
    changing the tint.

    Thanks for the tip. Now I remember... applying a color to a
    movie clip doesn't apply it to the final composition of all the
    children but to each child individually. I fixed it by creating the
    objects I wanted to display outside of the movieclip and just
    displaying them on top of it so they were technically separate but
    appear visually together.

  • Dreamweaver CS5 error: Unknown Adobe color transform code 1

    This error comes up repeatedly after I edit a library (.lbi) file using the Assets pane. I have to stop Dreamweaver to make it stop coming up.
    Thanks,
    Houyhnhnm

    Not encountered that problem before, but unusual messages after performing a particular action in Dreamweaver are normally the sign that you have a corrupt cache file. Instructions on how to remove the corrupt file are here: http://forums.adobe.com/thread/494811.

  • How do I change a color to another in a bitmapData image?

    Let's say you have an image of a cartoon human that is wearing a blue jacket with white sleeves, blue shoes, and grey pants. Brown hair and biege skin tone.
    (My project actually has 1300 of these images - 325 are blue cloths, 325 are red cloths, 325 are green cloths, and 325 are purple cloths)
    I am having a major problem with file size and memory usage due to all the images, so I have been asked to see if there was a way I could programmatically change the clothing color... this way we can use any color we want, and only have 325 base images.
    I have been trying to play with color matrix filter and color transform, but I can't seem to get the hang of it
    Is there a way I can extract only the "blue" colors from the image and do a hue shift on it to the color that I want it to be without effecting the non-blue colors?
    My idea was something along the lines of:
    Copy the "blue" color channel, hue shift it, then merge it back into frame....

    Oh boy... this seems to be an issue with your manager wanting it done 'NOW' rather than 'CORRECTLY'.
    For my original statement to work, the clothing would have to be seperated from the people - as per your suggestion to them - which would make your lives a whole lot easier.  The problem with hue shifting the entire image is --> it will hue shift the entier image = all colors, and that may not be the best solution in your situation.
    I would suggest replacing the pixel color (eg. getPixel32 and setPixel32 for the size of the image) but it seems that the shoulders and shoes have a darker color tone than the rest of the body.
    Secondary solution:
    Import one of the image into Flash and do a bitmap trace of the image. 
    Seperate the clothes and people there. 
    Add the clothes as a new movie clip and change the color on a few frames 5 or so different colors (so its not too much work)
    Show them an example of how 'easy' it is to change the colors CORRECTLY when the images are seperate (even in the same file)
    The secondary will give them the 'all in one file' they requested... and also give you solid grounds for convincing them to change the graphics.
    Hope this helps.  Other wise... its a long not so nice solution which will go over budget because they did not plan for this before they made the graphics.

  • Color Space and Bit Depth - What Makes Sense?

    I'm constantly confused about which color space and bit depth to choose for various things.
    Examples:
    - Does it make any sense to choose sRGB and 16-bits? (I thought sRGB was 8-bit by nature, no?)
    - Likewise for AdobeRGB - are the upper 8-bits empty if you use 16-bits?
    - What is the relationship between Nikon AdobeWide RGB, and AdobeRGB? - if a software supports one, will it support the other?
    - ProPhoto/8-bits - is there ever a reason?...
    I could go on, but I think you get the idea...
    Any help?
    Rob

    So, it does not really make sense to use ProPhoto/8 for output (or for anything else I guess(?)), even if its supported, since it is optimized for an extended gamut, and if your output device does not encompass the gamut, then you've lost something since your bits will be spread thinner in the "most important" colors.
    Correct, you do not want to do prophotoRGB 8bit anything. It is very easy to get posterization with it. Coincidentally, if you print from Lightroom and let the driver manage and do not check 16-bit output, Lightroom outputs prophotoRGB 8bits to the driver. This is rather annoying as it is very easy to get posterizaed prints this way.
    It seems that AdobeRGB has been optimized more for "important" colors and so if you have to scrunch down into an 8-bit jpeg, then its the best choice if supported - same would hold true for an 8-bit tif I would think (?)
    Correct on both counts. If there is color management and you go 8 bits adobeRGB is a good choice. This is only really true for print targets though as adobeRGB encompasses more of a typical CMYK gamut than sRGB. For display targets such as the web you will be better off always using sRGB as 99% of displays are closer to that and so you don't gain anything. Also, 80% of web browsers is still not color managed.
    On a theoretical note: I still don't understand why if image data is 12 or 14 bits and the image format uses 16 bits, why there has to be a boundary drawn around the gamut representation. But for practical purposes, maybe it doesn't really matter.
    Do realitze hat the original image in 12 to 14 bits is in linear gamma as that is how the sensor reacts to light. However formats for display are always gamma corrected for efficiency, because the human eye reacts non-linearly to light and because typical displays have a gamma powerlaw response of brightness/darkness. Lightroom internally uses a 16-bit linear space. This is more bits than the 12 or 14 bits simply to avoid aliasing errors and other numeric errors. Similarly the working space is chosen larger than the gamut cameras can capture in order to have some overhead that allows for flexibility and avoids blowing out in intermediary stages of the processing pipeline. You have to choose something and so prophotoRGB, one of the widest RGB spaces out there is used. This is explained quite well here.
    - Is there any reason not to standardize 8-bit tif or jpg files on AdobeRGB and leave sRGB for the rare cases when legacy support is more important than color integrity?
    Actually legacy issues are rampant. Even now, color management is very spotty, even in shops oriented towards professionals. Also, arguably the largest destination for digital file output, the web, is almost not color managed. sRGB remains king unfortunately. It could be so much better if everybody used Safari or Firefox, but that clearly is not the case yet.
    - And standardize 16 bit formats on the widest gamut supported by whatever you're doing with it? - ProPhoto for editing, and maybe whatever gamut is recommended by other software or hardware vendors for special purposes...
    Yes, if you go 16 bits, there is no point not doing prophotoRGB.
    Personally, all my web photos are presented through Flash, which supports AdobeRGB even if the browser proper does not. So I don't have legacy browsers to worry about myself.
    Flash only supports non-sRGB images if you have enabled it yourself. NONE of the included flash templates in Lightroom for example enable it.
    that IE was the last browser to be upgraded for colorspace support (ie9)
    AFAIK (I don't do windows, so I have not tested IE9 myself), IE 9 still is not color managed. The only thing it does is when it encounters a jpeg with a ICC profile different than sRGB is translate it to sRGB and send that to the monitor without using the monitor profile. That is not color management at all. It is rather useless and completely contrary to what Microsoft themselves said many years ago well behaved browsers should do. It is also contrary to all of Windows 7 included utilities for image display. Really weird! Wide gamut displays are becoming more and more prevalent and this is backwards. Even if IE9 does this halfassed color transform, you can still not standardize on adobeRGB as it will take years for IE versions to really switch over. Many people still use IE6 and only recently has my website's access switched over to mostly IE8. Don't hold your breath for this.
    Amazingly, in 2010, the only correctly color managed browser on windows is still Safari as Firefox doesn't support v4 icc monitor profiles and IE9 doesn't color manage at all except for translating between spaces to sRGB which is not very useful. Chrome can be made to color manage on windows apparently with a command line switch. On Macs the situation is better since Safari, Chrome (only correctly on 10.6) and Firefox (only with v2 ICC monitor profiles) all color manage. However, on mobile platforms, not a single browser color manages!

  • Matching Raster and Vector RGB color in InDesign CS3.

    We print on a Durst Lambda RGB imaging device to photographic paper. All color management is done as an early bind (raster files are converted to the printer's color space and vector colors are chosen from a palette database). So basically the files must go through InDesign without any color change in raster or vector information. We have clients that require specific RGB builds for logo colors the are present in both their raster and vector files.
    Color Management is set to "North American General Purpose 2" with "RGB: Preserve Embedded Profiles" selected.
    1) The file is exported as a PDF 1.4, High Quality, PDF/X_None.
    2) The PDF was ripped on a Cheetah RIP (Jaws level 3) with no color management on.
    3) Solid raster colors such as 0-255-0 will reproduce as 0-255-1.
    4) The color differences between the raster and vector are usually 1-4 points.
    5) The vector is consistent as was input in the programit's only the raster that changes. When you are trying to match raster and vectors logo colors it is a killer.
    However, I can go into the InDesign (or Illustrator) color settings and turn color management off (This is our current workflow). In doing this the RGB working space uses the monitor profile and "color management policies" are set to OFF. With these settings the RGB raster and vector match. The problem with this work flow is two fold:
    1) We have other devices than our RGB Durst Lambda that can use the InDesign color managementVutek flat bed 3200 and grand format 3360.
    2) We have had many occurrences where the custom "color management off" settings have reverted back to the default "North American General Purpose 2"without any intervention.
    I have tried this with different RIP's with the same results.
    Does anyone have an idea to create a simple PDF workflow and keep the color information consistent?
    Program: InDesign CS3 5.0.2
    Platform: Mac OS 10.5.2
    Computer: G5 tower with 4 gigs of RAM

    I believe that setting is an old Illustrator setting that has been saved to effectively turn the color management off. The monitor profile effects the image displayedit doesn't effect the color transform.
    Anyway, the color management I want to use is the "North American General Purpose 2".
    To reiterate:
    The procedure:
    1) The file is exported as a PDF 1.4, High Quality, PDF/X_None.
    2) The PDF was ripped on a Cheetah RIP (Jaws level 3) with no color management on.
    The Problem:
    3) Solid raster colors such as 0-255-0 will reproduce as 0-255-1It changes from the original raster color placed in InDesign.
    4) The color differences between the raster and vector are usually 1-4 points.
    5) The vector is consistent as was input in the programit's only the raster that changes. When you are trying to match raster and vectors logo colors it is a killer.
    To summarize, the color of the raster file will change from the original that was place into the documenteven though nothing was selected in InDesign that would change the color (i.e. profile conversion to an output profile or a transparency effect used). The change is slightbut there.

  • Is there a way to assign Color Spaces in AME (Adobe Media Encoder) CC?

    I am trying to output h.264 video for a web project and cannot seem to get sRGB color match when rendering out from AE.
    I see it in AE's native renderer, but not in AME.
    Thanks.

    AME (and Premiere Pro) does not support color management in the way that After Effects does. Via Dynamic Link, which is how AME reads After Effects comps, the color-space-adjusted pixels are not corrected for screen display.
    To get the results you want, add an adjustment layer to the top of the layer stack in the comp and apply the Color Profile Converter effect. Set the Output Profile to Rec.709 (sRGB is practically identical and will also work, but Dynamic Link uses Rec.709 internally so is a better match). This forces After Effects to transform the adjusted pixels into a non-linearized color space that looks correct.
    Note that while the CPC effect is active and View > Display Color Management is enabled (it is enabled by default), this extra layer of color transforms will make the comp appear incorrect in After Effects, at the same time the comp will now look correct in AME or Premiere Pro. Disable Display Color Management to make the appearance of the comp in After Effects match what you see in AME or Premiere Pro. While working on the comp, however, you probably want to work with Display Color Management enabled and the adjustment layer disabled.
    Under the hood, when color management is enabled in After Effects, the pixels it writes into the cache include the appropriate color transforms for the settings you have chosen. When the comp is displayed in the Composition panel in After Effects, an additional transform is added to the screen buffer pixels (not the pixels in the cache) to make it look correct on your computer screen, or not if you have disabled Display Color Management. When the pixels are read through Dynamic Link, no display color management happens, nor does AME or Premiere Pro apply any, so you get the same appearance as having Display Color Management disabled in After Effects.
    Make sense?

  • Consistent RGB Color Values with Photoshop CS4: An Impossibility??

    What I want is very simple: I want the Photoshop files I am working on and the rendered PNGs in my browser to have the same color values. I don't care if my web images look the same color on other screens or anything like that. All I want is for the screenshots of PNGs my web browser to match the color values I have used in Photoshop. I've had it up to here with color shiftsthis did not used to be an issue in CS3.
    Moreover, if I save a file on my Mac, and a color value is, say, #cf4640, I want someone who opens the file on a Windows box to get the same color value for that pixel. Ditto for the images I have saved for the webI want the RGB values to be consistent. This does not seem like too much to ask, does it?
    Right now, I have turned all color management policies set to Off, working spaces are all set to Generics, and documents are set to "Don't Color Manage"my Windows colleagues also have these same settings. This used to work as expected in CS3we all got the same color values on the same files, and colors didn't shift when viewed in a browser.
    Once again, I don't care if the colors *look* the same from platform to platform or screen to screen. I just want consistent RGB values.
    Color management has never caused me anything but headachesleave my colors alone, Photoshop! I really really wish there was a "Work Like Photoshop 4" setting for color management.
    Does anyone have any ideas how I might solve my problems?
    Thanks very much.
    Oh, and, incidentally, I was originally thinking of calling Adobe about this; how foolish of me. I looked into it, and can I just say how fantastic it is that you have to pay extra money for actual first-party tech support on a $700 piece of software?

    The sounds/language analogy isn't really relevant to this problem, because it suggests transforming between two entirely different media. One medium: the medium of sound information, to another entirely different medium: the medium of thoughts and meanings. That's something that simply can't be done without an intermediate translation. That's not the case with color transforms in the RGB space, where it's just a matter of taking RGB values and pushing them through a matrix to produce other RGB values. That's the process that messes everyone up and creates all the confusing color output, and frankly it's an unnecessary process. Your assertion that the values in a source image have no meaning without an associated profile isn't entirely true. What if those source values were simply pushed directly though to the display? After all, a display simply renders 8 bits of R, 8 bits of G, and 8 bits of B for each pixel.
    I think the original poster has some very valid concerns. Sometimes we just want to set some color values, and know that everybody's display, on every platform, will render those color values the same way. As he said, they may not look identical to the eye, but the values going through that DVI cable will be setting that pixel to the same 24-bit value no matter what. That's how things would be if there were no such thing as color management. That's how things used to be long ago, and in many ways the world of color was far more predictable and less confusing back then.
    Here's my vision for a perfect world: color management doesn't exist in the RGB space. None. No such thing. Source RGB values in images get pushed right through to the display. The onus is on the display manufacturers to produce hardware that renders those values as consistently as possible. In the world of print, sure- color management is incredibly useful. But if only we could go back in time and keep color profiles out of our RGB, I believe we'd be much better off today.

  • Why did Adobe get rid of 'No Color Management' option in CS5

    I use this option (in earlier CS verisons) when printing digital negatives on transparency film on my Epson 3880. There are a few work-arounds, including a printer utility from Adobe (which only works on tIff files, so it's limitied).
    But why, oh why did they get rid of this option in the first place. Did someone just decide, gee, I don't think that's a feature we want anymore in our program, so, puff, it's gone? I hate it when program 'updates' make my work harder instead of easier. 
    Regards, David

    Was DYP wrote:
    Can you prove this with a supporting document?
    Nope...I was told this by engineers familiar with the initiative...
    Was DYP wrote:
    ACPU and for that matter i1Profiler sends print image data (untagged I assume) through ColorSync and the print driver the exact same way as Lightroom and PSCS5 do when Application Manages Color is selected when printing. The only difference is that LR and PS do not allow you to send untagged image data.
    ACPU does send the untagged data through Colorsync, but the image data gets converted by Colorsync or ACPU to the printer profile chosen in the print driver as set up in the Print window of ACPU...so, since the document is in the final profile space of the printer, the print driver does nothing (null transform). Then you choose don't manage color in the driver. Exactly how ACPU works with Colorsync to avoid having Colorsync to an unwanted color transform isn't clear (would have to ask the engineer that wrote it), ACPU is clearly doing SOMETHING different than Photoshop and Lightroom when sending the image data to the printer.
    You can see what profile gets embedded when printing from ACPU by setting up the driver and saving a PDF and opening in Photoshop. When I printed to PDF from ACPU after setting up the driver to use Epson Glossy paper on an Epson R3000, the embedded profile in the PDF was SPR3000 Premium Glossy. Which if sent to the printer should result in a null transform. This is similar to the CS5 work around to tag an image with a color space and have that same color space set in Photoshop Manages Color and set the Printer Profile color space to be the same thus bypassing the Colorsync "generic RGB" transform. However, that work around no longer works with Photoshop CS6 (we were warned that this might happen BTW).
    I haven't tried it yet, but it's possible that you could still work around this in CS6 if you take an untagged target, assign the printer profile, then use Photoshop Manages Color with the profile being the same printer profile and then in the driver set do not color manage...actually, scratch that–I just tried that and CS6 pops a warning that "No Color Managment is not supported" when trying to print without the proper color management and to get ACPU with a link to download it. I guess Photoshop got pretty serious about disallowing this sort of printing. Heck, you can't even print to PDF.
    On the other hand, the simplest solution for me is to simply print out the target using i1Profiler...

Maybe you are looking for

  • SSRS 2012 SP2 - Windows 2008R2 - Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: A generic error occurred in GDI+

    Hi, I have built new SQL 2012 SSRS SP2 with Windows 2008R2 and BAR reports are not showing (just "x" mark in the left corner). Following is the log file information. I have gone through other forums and all are with windows 8 or windows 2012. Your he

  • PDF Report adding white spaces

    NEVER MIND.... Why is their no DEL option... Added fm in front of MONTH ('DD fmMONTH YY') and its fixed. I have a report that goes to a PDF based on a RTF template. On the Dates, the XML Feed looks fine, but when it generates the PDF it is adding ran

  • How  to override toString() method ?

    class  Test String x[]; int c; Test(int size) x=new String[size]; c=-1; public void addString(String str) x=new String x[++c]=str; public void String toString() //  i want to override toString method to view the strings existing in the x[]... //   ho

  • Delay in report execution

    Hello all, i have written following code, it take so much time in execution , any tips so that report executes in less execution time: REPORT ZHR_COURSES_AI . TABLES:HRP1000,        HRP1001,        HRP1002,        HRP1021,        HRP1026,        HRP1

  • SQL Server 2014 issues

    Hello: I have bumped upon a design issue with SQL Server 2014. I want to report this to Microsoft, where it can be addressed and corrected in the upcoming Service packs. This is something critical.. (that's what at least....I feel). Please let me kno