Color Application with Bitmap Data, Threshold and filters

Hello,
I want to simulate lipstick in an image over the lips.
To apply colour to the image we use the method threshold to a BitmapData.
Then we generate a Bitmap with the image whoch we have applies the colour. We determine a BlendMode for the BitmapData.
We apply the following filters:
BlurFilter
BevelFilter
ColorMatrixFilter
ConvolutionFilter
GlowFilter
GradientBevelFilter
Then we create the image and assign the .source of the BitmapData with the filters and the specific BlendMode.
We add this to a canvas with the addchild.
The problem is that We obtain an image that's good but it doesn't seen as an image that glows or an image superposed with the previous.
It's not very "real". I need like more shiny.
Can you help me?
Thank you very much!

Just to clarify, the site I'm having trouble with is at the link at the bottom of my first post.  The first one was my working example.  This one's broken: http://www.equestrianarts.org/resources.html
I'm looking at it in Explorer 7, and all I get is the names of the column headers in {brackets} where there should be lists loading from my html table.  Does anyone else see the same thing?
Thanks,
Maria

Similar Messages

  • Data Mining on data specified and filtered by the user in runtime

    Hi Experts,
    i am new to Data Mining in SAP BI (we are on BI 7.0 SP Level 20). I familiarised myself with APD and Data Mining by reading some interesting and useful threads in this forum and some other resources. Therefore I got a understanding about the topic and was able to create basic data mining model for an association analysis and an corresponding APD for it and write the results into a DSO by using the data source. But for now I was not able to find a solution for a concrete customer requirement.
    The user shall be able to select an article, a retail location and a month and get the top n combinations sold with that article in the particular location and month. For that he may not access the data mining workbench or any other SAP internal tools but he shall be able to start the analysis out of the portal (preferable a query).
    We had some thoughts on the scenario. The first idea would be to create an APD for every location for the last month. As we need to cover more than 100 locations, this would not be practicable. Therefore I think it would be necessary, that the user can select the particular filters, and the data mining would then be executed with the given input.
    The other idea was to use a query as source. The user would start this query and filter location and month in it. The result of the query could then be used as the source for the APD with the association analysis. Therefore we would need to create a jump point from that query, which starts the APD with that results. After that the user should be able to start a result query, which displays the result of the association analysis (ideally this result query would start automatically, but starting it manually would be ok, too).
    So, I have the following questions for these scenarios:
    1.) Is it possible to create variants of a single APD, for automatically doing the data mining for the different locations?
    2.) is it possible to start an APD out of a query, with the particular results regarding filtering?
    3.) Can we place a query directly on the data mining results (how?) or do we need to write the data mining results in a DSO first?
    4.) What about the performance? Would it be practicable to do the data mining in runtime with the user waiting?
    5.) Is the idea realistic at all? Do you have any other idea how to accomplish the requirement (e.g. without APD but with a query, specific filter and conditions)?
    Edited by: Markus Maier on Jul 27, 2009 1:57 PM

    Hi ,
    you can see the example : go to se 80 then select BSP Application ,SBSPEXT_HTMLB   then select tableview.bsp , you will get some idea to be more clear for the code which you have written
    DATA: tv TYPE REF TO CL_HTMLB_TABLEVIEW.
    tv ?= cl_htmlb_manager=>get_data(
                             request = runtime->server->request
                              name    = 'tableView'
                                  id      = ''tbl_o_table" ).    
    IF tv IS NOT INITIAL.
      DATA: tv_data TYPE REF TO CL_HTMLB_EVENT_TABLEVIEW.
      tv_data = tv->data.
    IF tv_data->prevSelectedRowIndex IS NOT INITIAL.
    FIELD-SYMBOLS: <row> LIKE LINE OF sflight.
        READ TABLE ur tablename  INDEX tv_data->prevSelectedRowIndex ASSIGNING <row>.
        DATA value TYPE STRING.
        value = tv_data->GET_CELL_ID( row_index    =
                                   tv_data->prevSelectedRowIndex
                                      column_index = '1' ).
    endif.
    endif,

  • Issues with Using Data Dashboard and Using Web Service

    After running a system for many months it has suddenly decided to not work at all.  I am using Data Dashboard to read variables on a host.  I'll outline the system here to get a baseline:
    I'm running LV 2012 SP1 f5. 
    I collect data from one Ethernet port and interfact it to another Ethernet port to form a proxy.
    I use a fixed IP address from my DSL along with port forwarding/port triggering in my router for data observation and control.
    So, what have I done so far?
    1.  Repaired my original LV 2012 SP1 and tested system.
    2.  Upgraded to LV 2012 SP1 f5 and tested system.
    3.  Ran service.msc and checked all the NI services that should be operational.  Started and stopped several of them and rebooted computer.
    4.  Deployed all my SVs (multiple times)
    5.  Disconnected second Ethernet interface becasue sometimes the variables would deploy to this IP address.
    6.  Turned off my wireless because sometimes the variables would deploy to this IP address.
    7.  Checked "Web Server Configuration" "Application Web Server" for correct port number.
    8.  Checked "Web Services Management" and under "Deployed Web Services" there is one category:  SV is marked as running.  NOTE!!  WebService is NOT listed and this could be a problem
    I can use the following to retrieve data&colon;  localhost:<port number>/sv/variable.  But when I substitute my DSL IP number, I can no longer get any data.
    So, what am I missing?  
    Thanks,
    Paul.

    Siana,
    Thanks for your response.
    I haven't touched the NI code in months.  It is running on an XP laptop and I have the Windows updates turned off.  McAfee is running on it and of course that updates regularily.  This laptop is a dedicated machine that I only use for this function, nothing else.  I haven't added or subtracted any programs for many months.
    There have been no changes to the DSL from me.  AT&T is constantly trying to get us to upgrade to U-Verse but we have resisted.  All DSL modem and router hardware is the same.  
    Confusing, huh?

  • Creating right/left click scroll with a data list and being able to click indiv.item from data list?

    I've created a data list that contains a photo with text. I'd like to be able to right click the horizontal list instead of a scrolling bar. Could you please direct me on this?
    I'd also like to select each individual box from the scrolling data list and click to their website or to a menu... not sure on how to do that either??
    I've attached an ai file of what i'm trying to achieve.
    Thanks for your help!

    Funny, I was in the middle of writing an article on how to do this. The simple answer is you create a standard scrollbar with all four parts: track, thumb, increment button, and decrement button. Attach it to your data list, then make the opacity of the track and thumb = 0.
    To make each item in your data list do something different, use the interactions panel and add a On Click interaction. You should notice there is an option toward the bottom of that panel to change from "When any item is selected" to "When a specific item is selected". Remember, programmers like to start counting from 0, so your first item in your data list i 0.
    Note: In the attached example on the first two items are selectable.
    Hope this helps,
    Chris Griffith

  • Composite Application with a Task Flow and form created manually

    Hi,
    I'm using Oracle SOA Suite 11G and i'm trying to create a task form for a human task without using the auto generate wizards and i'm having trouble getting the form to show in BPM worklist.
    I have followed instructions in the developers guide to create the form against the human task including the following
    27 Designing Task Forms for Human Tasks
    27.4.3 How To Create a Task Form Using the Complete Task with Payload Drop Handler
    27.8 Deploying a Composite Application with a Task Flow
    After i deploy and test, the task appears and works correctly in BPM worklist, but the form does not show. This is when i have the task form within a composite application or in a separate project. When i generate the form automatically using the wizards, this all works fine.
    Updated: Noticed that when i create the task form manually and deploy it does not create entries as per instructions
    20.3 Managing the URI of the Human Task Service Component Task Details Application
    I have the details in hwtaskflow.xml, but for some reason, they are not automatically created... It is annoying to have this created each time...
    Am i missing something? I don't see any errors in BPM worklist or on the server. Any advice would be appreciated.
    Thanks
    Edited by: user5535771 on Mar 12, 2010 5:01 PM

    Hi Duncan,
    Thanks for your reply.
    The later option of not using Query_Only would involve massive custmizations, as there are so many forms apart from the absence forms.
    There is just one taskflow that contains the person, assignment, Absence and SIT screen, how can we do like an standalone absence screen does not have tehe query only as Yes.
    Please let me know in case you dint get me i will mention my development steps in points.
    Many Thanks,
    Vineet

  • Problem with BLOB data type and acute characters

    Hi all, I have an issue related with BLOBS cols:
    I have table A with a BLOB column and I need to insert that data into another table B, the thing is I use dbms_lob.read() that returns data into a RAW variable and then I convert it to a varchar2(with utl_raw.cast_to_varchar2) and it works ok if I have no "acute characters" on it, e.g Québec.
    If I have acute characters, the "é" is inserted wrongly with an "¿" character on the table B. I tested the BLOB on the table A to check the data and the BLOB is showing correctly the "é" character, it seems that the dbms_lob.read() funct cannot handle accute characters and replace them with "¿".
    How can I replace acute characters when I use the dbms_lob.read functionality?
    Thank you!

    what's the OS of the db server? is this code an anonymous pl/sql block, or stored pl/sql? does it run on the server or a client? if it's on the client, what's the o/s of the client?
    you might want to look at the following, plus the first 3 notes in it's reference section
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:3038746456038321058::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,264157.1,1,1,1,helvetica

  • Help In keithley 2400 VI!!(Problem with the data logging and graph plotting)

    Hi,need help badly=(.
    My program works fine when i run it,and tested it out with a simple diode.The expected start current steps up nicely to the stop current.The only problem is when it ends,i cannot get the data log and the graph,though i already have write code for it.Can someone help me see what's wrong with the code?I've attached the necessary file below,and i'm working with Labview 7.1.
    Thanks in advance!!!
    Attachments:
    24xx Swp-I Meas-V gpib.llb ‏687 KB

    Good morning,
    Without the instrument it might be hard for others to help
    troubleshoot the problem.  Was there a
    specific LabVIEW programming question you had, are you having problems with the
    instrument communication, are there errors? 
    I’d like to help, but could you provide some more specific information
    on what problems you are encountering, and maybe accompany that with a simple
    example which demonstrates the behavior? 
    In general we don’t we will be unable to open specific code and debug,
    but I’d be happy to help with specific questions. 
    I did notice, though, that in your logging VI you have at
    least one section of code which appears to not do anything.  It could be that a small section of code, or
    a wire was removed and the data is not being updated correctly (see pic below).  Is your file being opened properly?  Is the data being passed to the file
    properly?  What are some of the things
    you have examined so far?
    Sorry I could not provide the ‘fix’, but I’m confident that
    we can help.  Thanks for posting, and
    have a great day-
    Message Edited by Travis M. on 07-11-2006 08:51 AM
    Travis M
    LabVIEW R&D
    National Instruments
    Attachments:
    untitled.JPG ‏88 KB

  • Init with out data transfer and DELTAS

    Dear Gurus,
    I created Generic data source using Function module on FAGLFLEXT table. Here i used TimeStamp for capturing DELTAS. In the first run while loading into PSA i selected INIT WITH DATA TRANSFER then it got failed. Again i deleted INIT Request in Schedular and RUN INIT WITH OUT DATA TRANSFER then it got Sucess. Again i run Delta then it also it got failed. Again i deleted the INIT Request and out FULL LOAD. IT got success. May i know why MY Deltas are getting Failed.even in R/3 side when i checked in RSA7 then in status column and in Current Status Tab it showing time stamp field like this . . : :.
    I got Stuck up I dont know what to do............
    Can one kindly give solution for this.
    Thanks,
    Sony

    Debug your generic DataSource, using RSA3, to determine why the delta failures are occurring. It's most likely in the delta logic portion of your custom Function Module.

  • Color problems with duo monitor (MPB and 24' Cinema Display)

    I have a new 24' Cinema Display attached to my 15' macBook pro 2.66 (not the new one with the SD slot) and I keep getting weird colors on the MBP display.
    Here is a screengrab from the MBP. The main display is fine. What is my MBP screen experiencing?!
    http://www.madreview.com/images/screengrab.jpg
    You can ell the colors are off on Tiger Woods on the bottom and on the background. Please help.

    If I may jump in, I have almost the same question and would like to clarify the Cmd-F1 suggestion. (I'm looking at buying the 24" LED for my slightly older MBP with max resolution 1440x900.) If one runs this monitor in extended desktop mode, you can reach the max resolution for the monitor, if I understand correctly, but is some of your "desktop" then spread across your built-in MBP LCD? That's less useful than having the entire 24" available for keeping multiple windows open.
    Just want to understand whether this is really worth it! Thanks, and PMFJI.

  • Can I create objects in Muse, assign them with a date/time and arrange on the page accordingly?

    Hi,
    Looking to get my site to a point where I can add content/posts to my pages daily but have the newest posts/content/objects at the top of the page.
    At the moment I have to rearrange the content everytime.
    It would make sense If I could group my objects, assign them a date/time and arrange them on the page accordingly. Once the page gets full it could then overflow to another page based on the master and so on. Without having to manually create the page and rearrange the contents. But I don't know if this is possible or completely stupid!!
    Any help/advice would be greatly appreciated

    Hi,
    Looking to get my site to a point where I can add content/posts to my pages daily but have the newest posts/content/objects at the top of the page.
    At the moment I have to rearrange the content everytime.
    It would make sense If I could group my objects, assign them a date/time and arrange them on the page accordingly. Once the page gets full it could then overflow to another page based on the master and so on. Without having to manually create the page and rearrange the contents. But I don't know if this is possible or completely stupid!!
    Any help/advice would be greatly appreciated

  • Fighting with typed data set and GetChildRows() method

    Hi,
    I have problems with the GetChildRows method of a typed data set of a VS2005 data set designer generated code to get all child rows from a parent table. Its not working the way it should and throws a "invalid cast exception" on the line
    DataSet.T_CHILDRow[] childs = parent.GetT_CHILDRows();
    I don't know if the problem is me and my still limited VS/C# knowledge or the Oracle .NET provider (local installed oracle10gR2 and Oracle .NET provider v2.0.50727) or VS2005 and the code generator for the data set.
    I attach the sample script to create my test table T_PARENT and T_CHILD as well as some test data and my program.cs console test application. To create the data set, just add a new data set to the solution named "DataSet.xsd" and drop the two test tables from the database explorer onto the data set designer window.
    TIA,
    Stefan
    ================ sample.sql =================
    create table T_PARENT (
    PARENT_ID number(10) not null,
    PARENT_NAME varchar2(100) not null,
    constraint T_PARENT_PK primary key(PARENT_ID)
    using index
    create table T_CHILD (
    CHILD_ID number(10) not null,
    PARENT_ID number(10) not null,
    CHILD_NAME varchar2(100) not null,
    constraint T_CHILD_PK primary key(CHILD_ID)
    using index
    alter table T_CHILD
    add constraint T_CHILD_FK1 foreign key(PARENT_ID)
    references T_PARENT(PARENT_ID);
    insert into T_PARENT(PARENT_ID, PARENT_NAME) values (1, 'Parent 1');
    insert into T_PARENT(PARENT_ID, PARENT_NAME) values (2, 'Parent 2');
    insert into T_PARENT(PARENT_ID, PARENT_NAME) values (3, 'Parent 3');
    insert into T_CHILD(CHILD_ID, PARENT_ID, CHILD_NAME) values (11, 1, 'First Child of Parent 1');
    insert into T_CHILD(CHILD_ID, PARENT_ID, CHILD_NAME) values (12, 1, 'Second Child of Parent 1');
    insert into T_CHILD(CHILD_ID, PARENT_ID, CHILD_NAME) values (13, 1, 'Third Child of Parent 1');
    insert into T_CHILD(CHILD_ID, PARENT_ID, CHILD_NAME) values (31, 3, 'First Child of Parent 3');
    ================ program.cs =================
    using System;
    using System.Collections.Generic;
    using System.Text;
    using TestChildRows.DataSetTableAdapters;
    namespace TestChildRows
         class Program
              static void Main(string[] args)
                   T_PARENTTableAdapter taParent = new T_PARENTTableAdapter();
                   DataSet.T_PARENTDataTable dtParents = taParent.GetData();
                   foreach (DataSet.T_PARENTRow parent in dtParents)
                        Console.WriteLine("\nParent Name: " + parent.PARENT_NAME);
                        DataSet.T_CHILDRow[] childs = parent.GetT_CHILDRows();
                        if (childs.Length > 0)
                             foreach (DataSet.T_CHILDRow child in childs)
                                  Console.WriteLine("\tChild Name: " + child.CHILD_NAME);
                        else
                             Console.WriteLine("\tThis parent has no childs!");
                   Console.Write("\nPress any key to end program ");
                   Console.ReadLine();
    }

    I found it: the problem is a bug in VS2005. Even SP1 provides no fix. MS just states that it will be fixed in the next VS release, but provides no info which release this will be.
    See:
    http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=114983
    For a work arround see:
    http://connect.microsoft.com/VisualStudio/feedback/Workaround.aspx?FeedbackID=114983
    Stefan

  • Coloring issues with magic wand tool and paint bucket tool, leaves uncolored areas near drawn lines

    Photoshop CS6 doesn't color properly.  Whetever I use brush tool or elliptical marquee tool to do the lines (with brush tool I use Hard Round, not soft), it doesn't color the whole area when i fill them with color. This happens with both magic wand tool AND paint bucket tool, there is always a small uncolored area near the lines. I have tolerance on 30,  and anti-alias, contiguous and sample all layers boxes checked. (this setting worked on my old CS3) I have tried tolerance from 0 to 100, no difference. I have also tried unchecking the boxes I just mentioned, still no difference. I hope there is a solution for this, because it is tedious to always go to the Select - Modify - Expand every time I need to color some area. So how do I fix this problem? I use seperate layers for lines and colors, like I have always done with other Photoshop versions. Even in school where they have CS5 those normal settings work.

    Hello Chris,
    I don't think this is a "user error". I think Adobe should be able to program a state of the art paint bucket, which is capable to get this done right.
    Other applications are able to get this done right.
    Please don't fall into a programmer's ignorance ("this is done right by definition") but listen to us artists and improve this unintuitive behavior. Add something like "ignore transparent pixels", because this doesn't even work if you draw on an empty layer.
    Thank you!

  • Golden Gate Data Transformation and Filters

    Hello All,
    I have a scenario wher I need to transform the data on the go. In short, I have 2 customers, using the same software and they are each customer_id =1 in their respective application.
    However, customer_id=1 has the other customer as customer_id=55 in his application and vice versa customer_id=1 has the other customer as customer_id=12.
    I know I can already setup filters for the particular data I want to replicate. However, I don't know if I can transform it before the data is replicated.
    Here is the scenario:
    Replication from Customer A(customer_id=1) to Customer B(customer_id=55)
    ==========================================================
    -->  FILTER inserts, updates, deletes where customer_id=55
    ---> TRANSFORM customer_id=55 to customer_id=1
        --> APPLY EXTRACTS to Customer B
    Replication from Customer B(customer_id=1) to Customer A(customer_id=12)
    ==========================================================
    -->  FILTER inserts, updates, deletes where customer_id=12
    ---> TRANSFORM customer_id=12 to customer_id=1
        --> APPLY EXTRACTS to Customer A
    Thanks in advance for any advise or recommendations you might have on the subject.
    Sincerely
    Jan S.

    I've done some research and look like we are talking about Oracle Data Integrator ..... I hope not. don't want to another layer of complexity.
    I hope there is someone out there that has alternative solution.
    Thanks in advance for any assistance in this matter.
    jan S.

  • Two JTrees synchronizeds with same data but one filtering original data

    I'm doing a chat and the users are showed in a JTree in mainFrame, with doble clic on a node user is showed a sessionFrame that permit send text message and a button that offers the feature of add another user online, How i can use the original JTree in mainFrame to show the users online in another JTree, but filtering the users (nodes) offline, and thus any changes made in the first JTree come to the second JTree immediately,
    Thanks a lot for any suggestion.

    Hi Sanjeev,
    If Appset transport happend twice, all applications should have come in BW. But in this case only PROFIT AND LOSS has got 2 diff tech names.
    Hi Nilanjan.
    Yes, both the cubes in Infoarea ( QA system) and we have not faced earlier this problem either in any other environments ( DEV or PROD).
    Will DEV system appset transport will help to resolve this issue in QA since DEV & QA has same structure?
    Regards,
    Hari

  • Problem with the data source and web.xml

    I have an issue where JSC is removing my resource reference:
    <resource-ref>
    <description>Creator generated DataSource Reference</description>
    <res-ref-name>jdbc/localOracleDatabase</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    from the web.xml and sun-web.xml.
    The application has been working great in the IDE for months then wham, no more data source definition. I try and add the reference manually and the IDE takes it out. I am "NOT" adding it to the .xml's in the build area. Why is JSC removing the data source entry?

    This continues to be a problem. The only way that I can get around the problem is to drag a table from the data source onto the design pallete and then the datasource is added back to the web.xml. I can run fine for 10 or 15 runs then the entry is once again removed from the web.xml.
    Help please!

Maybe you are looking for

  • Dead External HD

    Howdy! ok, so i have this external hard drive that i have had just short of 2 years and all of a sudden it can't be read on my mac or my pc(i used to be able to switch it between the 2 no problem). now i changed the casing and it showed up on my aunt

  • Photos App and images that have no place data

    I am considering moving to the Photos App from iPhoto, but I have a large number of old photos and documents that have no location data. Most were scanned several years ago, such as genealogy records, birth certificates, etc. How does Photos handle t

  • [RESOLVED] "Isolinux.bin missing or corrupt" when booting from USB.

    Just giving root cause explanation and resolution to closed topic: https://bbs.archlinux.org/viewtopic.php?id=107241 where "Isolinux.bin missing or corrupt" when booting from USB. I hope maybe someone will find it rather than closed topic 107241  :-(

  • Eclipse 'ESB' Designer

    All, In the same way that there is a BPEL Designer plug-in for Eclipse - does anyone know of any plans to create a Oracle ESBDesigner plug-in for Eclipse? (or is there one already available that I'm unaware of?) Best regards Allan.

  • CS6 Layers question

    I thought I had this down pat but do not. I have text on a page and simply want to add a colored background to just that page. So I select the rectangle tool and create a square about half the page size then fill it with a color. I see that the text