Can I create a saturation mask based to a gradient map?

Hi
can i create a saturation mask based on a gradient map?
for the example a gradient blue from 2441f6 to 6075f6
and have a luminocity mask based of this gradient
can i do it?
how can i do it?
thanks
cheers

The gradient maps are not use to sample color, but to recolor, so you cannot use it to create the selection, use the selection to limit the gradient map to the blue areas of the sky.
You could MASK a gradient map using the saturation of the sky, to recolor based on the actual saturation of the sky.
Select the sky with your favorite method, jump it to a new layer (CTRL+J)
Use the technique in the linked tutorial to extract the luminosity, it should land on its own layer.
Hide that layer, and delete the selective color one.
Now add your gradient map adj layer, enter the two colors as desired.
Show the layer with the saturation converted to a layer. Select all, copy.
ALT+click the layer mask of your gradient map adj layer, and paste. You might need to paint in black the areas you do not want affected.
I tried it here, and had semi satisfactory results given the very heavy compression of your file, and also because the colors are pretty unrealistic.
Here is the image showing the saturation mask, and the results on the side:

Similar Messages

  • How can i create a dynamic structure based on my input from a select-option

    Hello,
    This is to develop a custom report in FI for G/L Balance based on company code.
    I have an input select-option for Company code.
    Based on the range of company code my output layout should be modified.
    I am not very much sure to create a dynamic internal based on the input from a select-option.
    Can any one please let me know how can i do this.
    I would appreciate for anyone who turns up quickly.
    Thank you,
    With regs,
    Anitha Joss.

    See the following program, it builds a dynamic internal table based on the company codes from the select option. 
    report zrich_0001 .
    type-pools: slis.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>.
    data: alv_fldcat type slis_t_fieldcat_alv,
          it_fldcat type lvc_t_fcat.
    data: it001 type table of t001 with header line.
    selection-screen begin of block b1 with frame title text-001.
    select-options: s_bukrs for it001-bukrs.
    selection-screen end of block b1.
    start-of-selection.
      select * into table it001 from t001
                     where bukrs in s_bukrs.
      perform build_dyn_itab.
    *  Build_dyn_itab
    form build_dyn_itab.
      data: index(3) type c.
      data: new_table type ref to data,
            new_line  type ref to data,
            wa_it_fldcat type lvc_s_fcat.
      clear wa_it_fldcat.
      wa_it_fldcat-fieldname = 'PERIOD' .
      wa_it_fldcat-datatype = 'CHAR'.
      wa_it_fldcat-intlen = 6.
      append wa_it_fldcat to it_fldcat .
      loop at it001.
        clear wa_it_fldcat.
        wa_it_fldcat-fieldname = it001-bukrs .
        wa_it_fldcat-datatype = 'CHAR'.
        wa_it_fldcat-intlen = 4.
        append wa_it_fldcat to it_fldcat .
      endloop.
    * Create dynamic internal table and assign to FS
      call method cl_alv_table_create=>create_dynamic_table
                   exporting
                      it_fieldcatalog = it_fldcat
                   importing
                      ep_table        = new_table.
      assign new_table->* to <dyn_table>.
    * Create dynamic work area and assign to FS
      create data new_line like line of <dyn_table>.
      assign new_line->* to <dyn_wa>.
    endform.
    Regards,
    Rich Heilman

  • How can I create UI components dynamically based on the result of WebService/HttpService call?

    I would like to create child components of the component
    based on a XML which is retrieved by WebService/HttpService call.
    createChildren() is the one to be used to create components
    dynamically. But if I use createChildren() and call a
    WS/HttpService request in createChildren method, I can not get the
    result of WS/HttpService request in createChildren().
    It seems that the result event is processed later after
    createChildren() is completed.
    How can I implement my requirement?
    I would appreciate any pointer or suggestion.
    Best regards
    Masa

    1) Use a List, with a custom itemRenderer
    2) Use a Repeater (Probably easiest)
    3) use Actionscript to addChild() components.
    Tracy

  • How can I create a responsive website based in Adobe Muse?

    I already created a website with Adobe Muse but I just find out that it doesn't support Responsive Websites. What can I do now? Is there a way to make my website responsive or do I have to redesign it?

    Hi there! I`d recommend you to try create website from a ready-made template rather than from very start-up. It`s much easier. I like website templates based upon Joomla http://www.templatemonster.com/joomla-templates.php . Feel free to address it and convience yourself it`s as simple as rolling off a log. Good luck!

  • Can we create an APEX Form based on Table which has no Primary Key

    Hi,
    I have a requirement.
    I need to create a FORM based on a table having no Primary Key but it is having Unique Key . I can use Unique Key as an alternate of Primary Key.
    but When I tried to create a Form, I got the following message.
    Source tables for forms and tabular forms must have a primary key
    Thanks,
    Deepak

    Deepak_J wrote:
    Hi,
    I have a requirement.
    I need to create a FORM based on a table having no Primary Key but it is having Unique Key . I can use Unique Key as an alternate of Primary Key.
    but When I tried to create a Form, I got the following message.
    Source tables for forms and tabular forms must have a primary key
    Thanks,
    DeepakGood database design will always require a PK on the tables. There are only very few and rare expetions to this rule. One would be when you have store the data only temporarily in this table, like it is often done for import/loader tables. The data is first loaded in the "import"-table, then validated and then transported to the "real" tables. In such a scenario you can ignore the primary key on purpose. Because you already have a UK on this table it can't be such a scenario.
    For most other scenarios you should always add a PK. Ask critically why there is no PK on it. Is there a reason for it or was the table designer just not doing its job well?
    Btw: A UK is identical to a PK if the column is mandatory (NOT NULL). In this case you could simply change the constraint from UK to PK.

  • Can we create roles/permission list based on custom table

    I wanted to create Roles and Permission list based on custom table (which holds Business Logic),like if column value is 3 then certain roles and 2 then certain............ is it possible in PS?
    Thanks

    Are you looking at restricting the data that is shown or access to pages? Please elaborate your requirements so that a solution can be provided.

  • Can I create a smart playlist based on # of tracks?

    One hit wonders!
    I have a lot of single tracks by artists and would like to create a playlist of these. There doesn't seem to be a sort option based on the # of tracks, so I'm not sure how to proceed.
    Basically, i want to identify all the artists with only 1, 2 or "x" # of tracks in my library, then build my best one-hit wonder playlist.
    I thank you! Along with Kajagoogoo, Toni Basil and Flock of Seagulls.

    SERIOUSLY!!!  I was pretty shocked when I realized iTunes DJ isn't on my iPhone.  It seems like it should be, seeing as 1) it's one of the main perks/rewards of going through the hassle of rating all your songs, and 2) for many people (including myself) most music listening time is spent on their iDevices (listening in the car, at work, etc.).  So the fact that it's not there to be utilized is pretty weird and slightly upsetting.  Also the DJ mix should sync between iDevice and computer so you can continue listening to the same list going to and from home.

  • How can I create a materialized view based on hierarchical cube query?

    Hi,
    database version 10gR2.
    When i try to create MV for sql below, i got error .
    I tried creating MV log in several ways, but still, keep getting the same error.
    SQL Error: ORA-12015: cannot create a fast refresh materialized view from a complex query
    12015. 00000 -  "cannot create a fast refresh materialized view from a complex query"
    *Cause:    Neither ROWIDs and nor primary key constraints are supported for
               complex queries.
    *Action:   Reissue the command with the REFRESH FORCE or REFRESH COMPLETE
               option or create a simple materialized view.So, I wonder if it is possible to create MV based on sql below?
    if yes, how should I do it?
    if no, what is the alternative?
    select
          coalesce(UP_ORG_ID_6, UP_ORG_ID_5, UP_ORG_ID_4, UP_ORG_ID_3, UP_ORG_ID_2, UP_ORG_ID_1) as ORG_ID,
          a.day_id as day_id,     
          a.TRADE_TYPE_ID as TRADE_TYPE_ID,
          a.CUST_ID,
          coalesce(UP_CODE_6, UP_CODE_5, UP_CODE_4, UP_CODE_3, UP_CODE_2, UP_CODE_1) as product_id,
          QUANTITY_UNIT,
          COST_UNIT,
          A.SOURCE_ID as SOURCE_ID,
          SUM(CONTRACT_AMOUNT) as CONTRACT_AMOUNT,
          SUM(CONTRACT_COST) as CONTRACT_COST,
          SUM(SALE_AMOUNT) as SALE_AMOUNT,
          SUM(SALE_COST) as SALE_COST,
          SUM(ACTUAL_AMOUNT) as ACTUAL_AMOUNT,
          SUM(ACTUAL_COST) as ACTUAL_COST,
          SUM(TRADE_COUNT) as TRADE_COUNT     
    from DM_F_LO_SALE_DAY a, DM_D_ALL_ORG_FLAT B, DM_D_ALL_PROD_FLAT D
    where a.ORG_ID=B.ORG_ID
          and a.PRODUCT_ID=D.CODE
          and a.day_id=20110201
    group by rollup(UP_ORG_ID_1, UP_ORG_ID_2, UP_ORG_ID_3, UP_ORG_ID_4, UP_ORG_ID_5, UP_ORG_ID_6),
          a.TRADE_TYPE_ID,
             a.day_id,
          A.CUST_ID,
          rollup(UP_CODE_1, UP_CODE_2, UP_CODE_3, UP_CODE_4, UP_CODE_5, UP_CODE_6),
          a.QUANTITY_UNIT,
          a.COST_UNIT,
          a.SOURCE_ID;Thanks in advance.

    Rob vanWjik has an excellent series of fast refresh materialized views starting here:
    http://rwijk.blogspot.com/2009/05/fast-refreshable-materialized-view.html
    Part three specifically on aggregate MVs is here:
    http://rwijk.blogspot.com/2009/06/fast-refreshable-materialized-view.html

  • Can I create a Coding Mask without special characters?

    Good morning,
    Our client wants a project code with the following masks:
    XX0000-0000.
    Please advise how to proceed with it.
    Best regards,
    Nat

    Hi Nat,
    u cant have both numeric and alphanumeric in single word "XX0000". U can make the same as "XXXXXX"
    and there should be a specific project ID and Project ID and coding mask should be separated by a special character.
    u can make the coding mask as explained below
       Project ID     CODING MASK
    1)  A               :XX-0000-0000
    2) A               :XXXXXX-0000
    REGARDS
    Avinash

  • How can I create a new layer that is a gradient?

    Hi, i'm very new to photoshop scripting and am having some trouble.
    I'm looking for a way to take an image i have and set it to have a gradient opacity as it approaches the middle, my thought on how to do that was to just create a layer that is a gradient from top left to bottom right and then attach that as a vector mask.
    Any ideas on how I could create this gradient layer in script, or a better method of doing this opacity gradient?
    Thanks in advance,
    Levianth

    You could try this:
    // 2012, use it at your own risk;
    #target photoshop
    if (app.documents.length > 0) {
    var myDocument = app.activeDocument;
    var theLayer = myDocument.activeLayer;
    if (theLayer.isBackgroundLayer == true) {theLayer.isBackgroundLayer = false};
    // create gradient layer;
    // =======================================================
    var idMk = charIDToTypeID( "Mk  " );
        var desc15 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref3 = new ActionReference();
            var idcontentLayer = stringIDToTypeID( "contentLayer" );
            ref3.putClass( idcontentLayer );
        desc15.putReference( idnull, ref3 );
        var idUsng = charIDToTypeID( "Usng" );
            var desc16 = new ActionDescriptor();
            var idType = charIDToTypeID( "Type" );
                var desc17 = new ActionDescriptor();
                var idType = charIDToTypeID( "Type" );
                var idGrdT = charIDToTypeID( "GrdT" );
                var idLnr = charIDToTypeID( "Lnr " );
                desc17.putEnumerated( idType, idGrdT, idLnr );
                var idGrad = charIDToTypeID( "Grad" );
                    var desc18 = new ActionDescriptor();
                    var idNm = charIDToTypeID( "Nm  " );
                    desc18.putString( idNm, "Custom" );
                    var idGrdF = charIDToTypeID( "GrdF" );
                    var idGrdF = charIDToTypeID( "GrdF" );
                    var idCstS = charIDToTypeID( "CstS" );
                    desc18.putEnumerated( idGrdF, idGrdF, idCstS );
                    var idIntr = charIDToTypeID( "Intr" );
                    desc18.putDouble( idIntr, 4096.000000 );
                    var idClrs = charIDToTypeID( "Clrs" );
                        var list3 = new ActionList();
                            var desc19 = new ActionDescriptor();
                            var idClr = charIDToTypeID( "Clr " );
                                var desc20 = new ActionDescriptor();
                                var idRd = charIDToTypeID( "Rd  " );
                                desc20.putDouble( idRd, 0.000000 );
                                var idGrn = charIDToTypeID( "Grn " );
                                desc20.putDouble( idGrn, 0.000000 );
                                var idBl = charIDToTypeID( "Bl  " );
                                desc20.putDouble( idBl, 0.000000 );
                            var idRGBC = charIDToTypeID( "RGBC" );
                            desc19.putObject( idClr, idRGBC, desc20 );
                            var idType = charIDToTypeID( "Type" );
                            var idClry = charIDToTypeID( "Clry" );
                            var idUsrS = charIDToTypeID( "UsrS" );
                            desc19.putEnumerated( idType, idClry, idUsrS );
                            var idLctn = charIDToTypeID( "Lctn" );
                            desc19.putInteger( idLctn, 0 );
                            var idMdpn = charIDToTypeID( "Mdpn" );
                            desc19.putInteger( idMdpn, 50 );
                        var idClrt = charIDToTypeID( "Clrt" );
                        list3.putObject( idClrt, desc19 );
                            var desc21 = new ActionDescriptor();
                            var idClr = charIDToTypeID( "Clr " );
                                var desc22 = new ActionDescriptor();
                                var idRd = charIDToTypeID( "Rd  " );
                                desc22.putDouble( idRd, 0.000000 );
                                var idGrn = charIDToTypeID( "Grn " );
                                desc22.putDouble( idGrn, 0.000000 );
                                var idBl = charIDToTypeID( "Bl  " );
                                desc22.putDouble( idBl, 0.000000 );
                            var idRGBC = charIDToTypeID( "RGBC" );
                            desc21.putObject( idClr, idRGBC, desc22 );
                            var idType = charIDToTypeID( "Type" );
                            var idClry = charIDToTypeID( "Clry" );
                            var idUsrS = charIDToTypeID( "UsrS" );
                            desc21.putEnumerated( idType, idClry, idUsrS );
                            var idLctn = charIDToTypeID( "Lctn" );
                            desc21.putInteger( idLctn, 4096 );
                            var idMdpn = charIDToTypeID( "Mdpn" );
                            desc21.putInteger( idMdpn, 50 );
                        var idClrt = charIDToTypeID( "Clrt" );
                        list3.putObject( idClrt, desc21 );
                    desc18.putList( idClrs, list3 );
                    var idTrns = charIDToTypeID( "Trns" );
                        var list4 = new ActionList();
                            var desc23 = new ActionDescriptor();
                            var idOpct = charIDToTypeID( "Opct" );
                            var idPrc = charIDToTypeID( "#Prc" );
                            desc23.putUnitDouble( idOpct, idPrc, 0.000000 );
                            var idLctn = charIDToTypeID( "Lctn" );
                            desc23.putInteger( idLctn, 0 );
                            var idMdpn = charIDToTypeID( "Mdpn" );
                            desc23.putInteger( idMdpn, 50 );
                        var idTrnS = charIDToTypeID( "TrnS" );
                        list4.putObject( idTrnS, desc23 );
                            var desc24 = new ActionDescriptor();
                            var idOpct = charIDToTypeID( "Opct" );
                            var idPrc = charIDToTypeID( "#Prc" );
                            desc24.putUnitDouble( idOpct, idPrc, 100.000000 );
                            var idLctn = charIDToTypeID( "Lctn" );
                            desc24.putInteger( idLctn, 2048 );
                            var idMdpn = charIDToTypeID( "Mdpn" );
                            desc24.putInteger( idMdpn, 50 );
                        var idTrnS = charIDToTypeID( "TrnS" );
                        list4.putObject( idTrnS, desc24 );
                            var desc25 = new ActionDescriptor();
                            var idOpct = charIDToTypeID( "Opct" );
                            var idPrc = charIDToTypeID( "#Prc" );
                            desc25.putUnitDouble( idOpct, idPrc, 0.000000 );
                            var idLctn = charIDToTypeID( "Lctn" );
                            desc25.putInteger( idLctn, 4096 );
                            var idMdpn = charIDToTypeID( "Mdpn" );
                            desc25.putInteger( idMdpn, 50 );
                        var idTrnS = charIDToTypeID( "TrnS" );
                        list4.putObject( idTrnS, desc25 );
                    desc18.putList( idTrns, list4 );
                var idGrdn = charIDToTypeID( "Grdn" );
                desc17.putObject( idGrad, idGrdn, desc18 );
            var idgradientLayer = stringIDToTypeID( "gradientLayer" );
            desc16.putObject( idType, idgradientLayer, desc17 );
        var idcontentLayer = stringIDToTypeID( "contentLayer" );
        desc15.putObject( idUsng, idcontentLayer, desc16 );
    executeAction( idMk, desc15, DialogModes.NO );
    // move layer below;
    var theGradient = myDocument.activeLayer;
    theGradient.move(theLayer, ElementPlacement.PLACEAFTER);
    // clipping mask;
    theLayer.grouped = true

  • Is there a difference between vibrance and saturation mask? how can i create it?

    Hi
    browsing the forum and the net , i found only 2 ways to create a saturation mask
    1) using an adjustament layer , selective color
    2) using the photoshop plugin
    but i have never achieved good results
    now reading and browsing the net i found the vibrance mask ->http://goodlight.us/writing/saturationmasks/using-the-photoshop-actions.html
    now is there a difference between vibrance mask and saturation mask?
    and may i know how do you create a saturation mask or vibrance mask?
    thanks
    happy new year

    hi
    i tried to reproduce your skill
    1) duplicate my image and coverted in lab
    2) back to my original image in RGB
    3) i create 4 layer 18% gray , blend mode normal
    now on layer 1 apply
    second layer
    3 layer
    4 layer
    now my laywer are so...->
    4) add a curve clippet on each layer ,input set 127
    and
    and set all the 4 to screen
    5) a level adjusament set to auto
    but my image is in color not like yours
    what wrong?
    whad do i miss?
    thanks a lot

  • How can i create a mask of grays?

    Hi
    i did learn how create a saturation mask (a mask that contains the colors)
    how can i create a mask with the grays ?
    can i do it? how can  i create it ?
    the only way i can thing it's use a color selective adjustament layer and set to +100 black every sliders outside grays
    but i don't think it's a mask with all the Grays
    thanks

    If you start out with, say, this image in Lab:
    Then duplicate the layer and set Blend If, in both the a and b channels, to 123 - 133. That layer will then look like this:
    You see you have all the neutrals from black to white, but not the saturated colors. You can load transparency here as a selection the normal way - ctrl+alt+2, or ctrl-click the L channel. Save the selection and you have your mask.
    How much fuzziness you want in the neutrals is determined by where you set the Blend If sliders. You can also split the sliders with the alt key for a softer transition. Here it includes 5 values either side of strict neutral.

  • Can we create entity object based on a text file on the OS?

    I understand you can interface with files using webDAV. Can we just create a entity object with source to a text/xml file on the OS instead of a table?

    Have a look at the URL data source (under new->business tier->web services) - it allows you to create a data control based on an XML or csv file.
    http://technology.amis.nl/blog/?p=1592
    You can also create a data control based on a Java class that interact with a file.

  • Using a dump how can i create a ER diagram

    Can any one tell me how can i draw a ER diagram automaticaly by using an existing Database.i mean i have a database with all the relationship,triggers and views now i want to make a ER diagram automaticaly by using this database ... is there any tool for this or is oracle provides any tool can any one help me out to solve this problem
    thx in advance....

    As you are asking on the Designer forum,I am assuming you have a Designer Repository set up. If this is the case,you can use Designer to capture the design of your schema and create a schema model. You can create an ERD from this schema model by using Designer's table to entity retrofit utility. Check out the Designer demos on this site for more. (http://www.oracle.com/technology/products/designer/demos.htm)
    If you do not have a Designer Repository setup, why not try JDeveloper? You can download the latest JDeveloper 10g Preview release from OTN and, using the connection node, connect to the required schema and pull the tables from your schema onto a Database diagram. JDeveloper allows you to quickly and easily review your schema model visually.
    You can also create UML Class models based on your schema.
    There are numerous demos on the JDeveloper area for the UML modeling JDeveloper offers. (http://www.oracle.com/technology/products/jdev/index.html)
    Regards
    Sue Harper

  • Can we create a monitor based on an existing rule in SCOM?

    We see the built-in rule "Collect Buffer cache hit ratio" under "SQL 2008 DB Engine". And it is apparatently a collect type of rules and by default it doesn't generate any alert if the buffer cache hit ratio is lower than our threshold. Is there any way we can create a custom monitor based on this built-in rules so we can get alerts for the low ratio?

    Sure, you should be able to author a monitor that looks at this performance counter (assuming it's a performance counter in SQL) and generate an alert if it's above a particular threshold. Essentially the new monitor would look at the counter independently
    from the rule that's there already....
    This does not answer the question if the Collection rule is not based on a Perfmon counter.  One such example is Total messages in queue for the Microsoft Message Queuing management packs.  What I would like to do is set a static threshold based on
    the data already collected by the "Collect Total Messages in All Queues" rule.  This rule is based on a script, not a perf mon counter.
    Is there a way to monitor the data that has already been collected with a static threshold, without building a separate collection rule and monitor?
    dsloyer

Maybe you are looking for