Modify luminance level based on existing luminance level?

Hi,
  Say I have an image where I'm attempting to extract a mask from and I've found that one of the channels will serve as a good starting point. Further suppose that I have found that I want to increase the luminance level of pixels in the range of 60 - 65 by 10 luminance levels each:
i.e. all pixels with luminance values of 60,61,62,63,64,65 would, after the operation have luminance values of 70,71,72,73,74,75. Is such a thing possible with Photoshop?
Thanks,
Matt

Maybe something like this will help. An RGB (10, 10, 10) additive layer which is only applied where underlying pixels have gray value 60-65 by using a "Blend If" condition. The "Blend If" can be set to consider the values in one particular channel if you prefer.

Similar Messages

  • Creating multiple tables based on existing tables

    Hi,
    I have to create 60 tables based on existing 60 tables. Instead of creating one by one how can I create all 60 at once.
    The current 60 tables are named FY11_ACC1, FY11_ACC2, FY11_SALES1, FY11_SALES2 ...... , but all 60 tables start with FY11. I need to create the same structured tables but with FY12 names like FY12_ACC1, FY12_ACC2, FY12_SALES1, FY12_SALES2 .....
    Currently I am using "create table FY12_ACC1 as select * from FY11_ACC1 where 1=0". Is there a way I can write all of them in one query?
    Thanks for your time and help.

    ssk1974 wrote:
    Hi,
    I have to create 60 tables based on existing 60 tables. Instead of creating one by one how can I create all 60 at once.
    The current 60 tables are named FY11_ACC1, FY11_ACC2, FY11_SALES1, FY11_SALES2 ...... , but all 60 tables start with FY11. I need to create the same structured tables but with FY12 names like FY12_ACC1, FY12_ACC2, FY12_SALES1, FY12_SALES2 .....
    Currently I am using "create table FY12_ACC1 as select * from FY11_ACC1 where 1=0". Is there a way I can write all of them in one query?
    Thanks for your time and help.Well, i'm assuming FY = Fiscal Year and 11 = 2011 and then ACC1 = Account #1.
    From the sounds of things, your design isn't likely "correct'.
    If you'd care to delve in to the requirements a little bit ... what you have and what you need (business speak wise) there are no shortage of experts here that i'm sure would be happy to help you.
    If you're stuck with what you've got (or don't care to change your 'design') and all you care about is achieving that please disregard this message.

  • Add column to user defined type based on existing table

    Hello guys,
    I am trying to compile my function which returns a user defined type based on existing table. Throughout the initializing process though my query returns one additional column - SCORE(1). Here is my package:
    create or replace
    PACKAGE STAFF_AGENCY_PKG AS
    TYPE TYPE_SEEKER_TABLE IS TABLE OF TOSS.SEEKER%ROWTYPE;
    FUNCTION GET_SEEKERS(IN_KEYWORD IN VARCHAR2)
    RETURN TYPE_SEEKER_TABLE PIPELINED;
    END STAFF_AGENCY_PKG;
    create or replace
    PACKAGE BODY STAFF_AGENCY_PKG
    AS
    FUNCTION GET_SEEKERS(IN_KEYWORD IN VARCHAR2)
    RETURN TYPE_SEEKER_TABLE PIPELINED
    IS
    R_TBL TYPE_SEEKER_TABLE; -- to be returned
    BEGIN
    FOR R IN(
    SELECT Seeker.SEEKER_ID,
    Seeker.FIRSTNAME,
    Seeker.LASTNAME,
    Seeker.NATIONALITY,
    Seeker.ISELIGIBLE,
    Seeker.BIRTHDATE,
    Seeker.ISRECIEVEEMAILS,
    Seeker.HIGHESTDEGREE,
    Seeker.ETHNICITY,
    Seeker.GENDER,
    Seeker.ISDISABILITY,
    Seeker.DISABILITY,
    Seeker.CV,
    Seeker.PASSWORD,
    Seeker.PREFFERED_CITY,
    SEEKER.EMAIL,
    SEEKER.JOB_PREFERENCES_ID,
    SCORE(1)
    FROM SEEKER Seeker
    WHERE CONTAINS(CV, '<query>
    <textquery lang="ENGLISH" grammar="context">' ||
    GET_RELATED_CATEGORIES(IN_KEYWORD) ||
    '</textquery>
    <score datatype="INTEGER"/>
    </query>', 1) > 0
    LOOP
    PIPE ROW(R); --Error(38,10): PLS-00382: expression is of wrong type
    END LOOP;
    RETURN;
    END GET_SEEKERS;
    END STAFF_AGENCY_PKG;
    How do I need to amend my user type in order to suffice?
    Oracle Release 11.2.0.1.0
    Many thanks in advance!

    >
    How do I need to amend my user type in order to suffice?
    >
    You will need to create two new TYPEs. One that has all of the columns of the TOSS.SEEKER table and the new SCORE column and then a TYPE that is a table of the first type.
    See the Example 12-22 Using a Pipelined Table Function For a Transformation in the PL/SQl language reference
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/tuning.htm#i53120
    Here is the first part
    -- Define the ref cursor types and function
    CREATE OR REPLACE PACKAGE refcur_pkg IS
      TYPE refcur_t IS REF CURSOR RETURN employees%ROWTYPE;
      TYPE outrec_typ IS RECORD (
        var_num    NUMBER(6),
        var_char1  VARCHAR2(30),
        var_char2  VARCHAR2(30));
      TYPE outrecset IS TABLE OF outrec_typ;
    FUNCTION f_trans(p refcur_t)
          RETURN outrecset PIPELINED;
    END refcur_pkg;
    CREATE OR REPLACE PACKAGE BODY refcur_pkg IS
      FUNCTION f_trans(p refcur_t)
       RETURN outrecset PIPELINED IS
        out_rec outrec_typ;
        in_rec  p%ROWTYPE;
      BEGINModify
      TYPE outrec_typ IS RECORD (
        var_num    NUMBER(6),
        var_char1  VARCHAR2(30),
        var_char2  VARCHAR2(30));
      TYPE outrecset IS TABLE OF outrec_typ;to include all of the columns you need. Unfortunately you will have to manually list all of the columns of the TOSS.SEEKER table. If you expect to need this same structure in other places you should create them as SQL types instead of PL/SQL types.
    This example should be enough to show you how to change your code to do something similar.

  • Question about modifying the size of an existing column in a table

    I am a new DBA. I am being asked to modify a column in an existing table that is populated with data. Our database is a 10g database, and the table name is Contacts. The column name is FName, and it is currently VARCHAR(10). It needs to be increased to VARCHAR(18). Would I use this statement: ALTER TABLE contacts MODIFY COLUMN FName VARCHAR(18)?
    I thank everyone who helps me with this question in advance.

    Hello,
    This is how you do it
    ALTER TABLE  A_ERROR_TABLE MODIFY(TEST VARCHAR2(18)); -- Example
    ALTER TABLE contacts MODIFY ( FName VARCHAR2(18));Regards
    Edited by: OrionNet on Apr 2, 2009 4:09 PM: Fixed typo

  • Modifying the web-based capture utility

    Hello - we are looking to modify the web-based capture tool to only allow for video file uploads, and not capturing etc. Anyone have experience with this?
    Thanks in advance!

    not yet - but i would be interested in details..

  • Product Hierarchy - modifying the levels

    We are wanting to use the Product Hiearchy but are wanting to redefine the levels.  We want  4 levels, 3-6-6-3.  I've done some research and find that we are able to change the SAP standard of 3 levels to the 4 levels that we want.  I've also found general documentation on how to do that.  When I create my new Domains (ex: zprodh4 char3) and then try to change the main structure of PRODHS I get a pop up asking for an Access Key.  So, I'm either doing something wrong or changing the product hierarchy levels does not survive an upgrade?  Can anyone answer this for me.  If you think I'm doing something wrong can you please give me detailed instructions on how to assign the new domains to the existing structure. 
    Thank you!
    Tami
    Edited by: Tami Ayres on Nov 14, 2011 9:24 PM

    I have the access key and am modifying data element PRODH1.  I changed the domain to read ZPRODH1 which is my defined domain.  I saved it. 
    1.  When I go to activate it I get a list of dependent structures and tables that are to be adjusted.  Of course this makes me nervous but I'm assuming this is normal.
    2.  When I start to modify my next data element PRODH3, I am prompted for the access key.  I enter the same access key as I did for PRODH1 and there's an error telling me the access key is incorrect.  Do you have to have an access key for each element and then the structure that you are modifying?
    Sorry for all the questions but this modification is making me nervous and I just want it to be correct.
    Thank you,
    Tami

  • BTE to modify planning level

    Hi!
    I´m using BTE 1025 (P/S) to modify automatically the panning level of certain FI documents.
    My version: 4.6C
    Now we are upgrading to ECC 6.0, but BTE 1025 doesn´t run.
    What´s the problem with BTE for modifying documents in ECC 6.0?
    Thanks in advance,

    Hi,
    I've already tried it. I've tried to use a substitution to change BSEG-HKONT for tax items in hope that corresponding BSET entry is fullfilled with the same account of BSEG. The problem was the BSEG field works OK, but corresponding BSET entry is not updated.
    It's not possible to use substitutions to update BSET. Correct ?
    I'll thank if someone has any other idea, or if there's something I can add to the substitution that makes it updates BSET-HKONT with BSEG-HKONT.
    Thanks,
    Paulo Sousa

  • Template based on Modify Provision Resource not showing existing groups

    Hi All,
    In OIM 11gR1, we have created custom templates based on Provision and Modify Provision Resource. For templates based on Modify Provision Resource, Oracle says that it should show all existing groups/responsibilities of the beneficiary during request creation. However, it shows empty rows during adding of new responsibilities. Has anyone faced this issue and why is this happening.
    Please let us know.
    Thanks.

    Samique Tanweer, Hope this solutions helps you.
    One possibility is, If your CSS template is common for both BI and Other department Users except LOGO, then create a single CSS template.
    In your report, Take a blank cell. Insert image into it.
    Now, Create a Alert based on Users and apply that alert(Rule) to above inserted image.

  • Modify High Level User Interface

    Respected Sir
    i am using MIDP2.0 for my application. i want to modify some High
    Level User Interface in my application. i mean that for TextBox
    High Level User Interface i want to change(Modify) TextBox
    predefined size , color,etc.... Is it Possible. if is then plz give
    me some Clue.
    thankx in advanse
    Souvik

    use setPreferredSize
    and setLayout
    functions
    though for color there is nothing

  • Modify Organizational Levels screen appereance depending on selected views

    Hi!!
             I need to modify the appereance of the organizational levels screen depending on which views had the user selected when creating/updating a material (for some views I need to use the standard screen and for others I need to show a new one with the standard appereance and some other fields).
      I've been checking forums but i'm not very sure about which solution i should implement. It seems to be the one which uses the SPRO process explained in SPRO -> IMG Activity -> Logistics General -> Material Master -> Configuring Material Master -> Create a program for sub screen, but this seems to be for creating new views more than to modify the standard flow for organizational levels.
      Otherwise, if the solution is correct, in that case, how can i choose which of the both screen show up in each case? I've read also about changing view sequences, but i haven't found anythig that was dependant on which views had the user selected.
    Regards.
    DTZ.

    Hello Rajesh
    I do no think so because we are dealing here with a control, namely the calendar control. 
    If you want to change the F4 for a  date field in a <b>customer</b> program where you can realise the search help dialog yourself then you could have a look at CL_...CALENDAR... classes or function modules CALENDAR and check if the interfaces might allow to implement your requirements.
    Regards
      Uwe

  • RESCSEAL: hwo to modify the level of posting

    Hi,
    RESCSEAL post provisions for revenue for all charges that were posted on an SU and not yet settled with RESCSE.
    The provisions are totalised and the posting is done on the business entity level, which is the SAP standard.
    Hereby a lot of detail is lost and the profit center of the business entity is only taken into account.   (not the one of the SU, nor the one of the rental objects)
    How can we influence the level of posting?
    thx
    stefaan

    Hi Stefaan,
    You cannot influence the level of posting, you can only create different service charge groups to create more postings. Otherwise you will have to find the proper BAdI and create some logic of your own.
    For Angela,
    Did you customize all the relevant settings?
    At first in the Settlement Scheme you have to activate the Accrual/deferral for Service Charges.
    Service Charge Settlement > Settlement Process > Define Settlement Parameters.
    Then you have to customize Service Charge Groups.
    Service Charge Settlement > Accrual/Deferral of Service Charges/Display Costs Not Settled > Define Service Charge Groups and Accrual/Deferral of Service Charges.
    You have to create the flow types and attach them to account symbols and GL accounts. You don't have to customize more for these flow types.
    Then you assign the Service Charge Group to a Service Charge Key and a Condition Type.
    This should do the trick. The customizing help is also very helpful.
    Regards,
    Jeroen

  • Modifying document level features of OWA in SP2013?

    Hopefully someone can put me on the correct path or at least get me started. In SharePoint 2013 when I open a word document in OWA I have a ribbon or menu at the top with File, edit, etc. etc. Some of those features I want to display and some I want to
    remove. Anybody know how you go about that?  I was told by a colleague there is some sort of web part you need that will allow you to customize things but I didn't get enough info. Any help would be appreciated.

    Hi Trevor,
    If you are talking about how to customize ribbons in Office Web App, this is an Office related issue. Currently, Office online API is not available for user, while Office client ribbon can be customized. Please refer to the link below:
    https://social.technet.microsoft.com/Forums/office/en-US/93473e7a-0cc6-4082-864c-0d44d79214c7/office-web-apps-api-for-web-applications?forum=officeitproprevious
    You could send feedback to Office channel via:
    http://office.microsoft.com/suggestions.aspx
    If you are talking about SharePoint list ribbon, then it could be hidded by coding.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • How to modify search query based on new FE

    Hi,
    As per a requirement, in All Accounts search (advanced search section), I had to replace 5 checkboxes (e.g. Role1, Role2, Role3, Role4, Role5) by a single dropdown (codelist) name= "Account_Roles" containing same values (Role1, Role2, Role3, Role4, Role5). I created Customer's XBO and declared field of the codelist type, name= "Account_Roles". So, the XBO now has below 6 fields :
    Role1, Role2, Role3, Role4, Role5 (type = Indicator)
    Account_Roles                            (type = codelist)
    Existing search on All Accounts worked on the 5 checboxes and fetched those accounts for which the values matched.
    E.g.
    If in search parameters, I check Role1 & Role2, and for Account1, these values are stored as "true", then Account1 will be shown in the result list.
    Now the search UI doesn't have the checkboxes, but codelist ('Account_Roles') which can have value 'Role1'/'Role2'/'Role3'/'Role4'/'Role5' or combinations are also possible like 'Role1' OR 'Role2', etc..
    My question here is -
    Will the old search query that worked on indicator fields earlier, handle the new FE "Account_Roles" automatically ?
    If not, then will modification be required to existing search query ?
    If modification is required, what steps I need to follow to handle this new field instead of checkboxes.
    I need exact steps to modify a search query, as I tried several things in the PDI but was not able to confirm if this requirement can be implemented by modifying search query or it is not feasible from PDI perspective.
    Appreciate all your inputs.
    Thanks,
    Sachin.

    Hi,
    you can create a link between the vendor objects itself, means link 0vendor with 0ven_compc and 0ven_purorg. This should give you a list of all vendors multiplied with the comp codes multiplied with the purch. org. May be here it is possible to create another link between a attribute (eg. comp_code of 0ven_purorg with comp_code of 0ven_compc). In case it is not possible you need to add this link information somehow. Another option might be to create 2 queries. One on a infoset of 0vendor and 0ven_purorg and another one on 0vendor and 0ven_compc.
    regards
    Siggi

  • Create form based on existing row : advice from specialists

    hello,
    i've coded a "create form" based on a row selected by the user.
    this create form displays the same information as the selected row (except for the primary key which is a sequence trigger-calculated) the user can then modify any field and then commit the creation. It's quicker for tables with many columns since the user will override only several fields instead of setting every field one by one.
    I've done it this way :
    1) creation of a createCustomMethod() in my ViewObject implementation class and published it in the client interface.
    2) drag and drop the method as a command button on the selection list page
    3) set the action of the command button to the navigation case value to open the create form when the button is clicked.
    the code of the createCustomMethod() is the following
    public void createCustomMethod() {       
    Row currentRow = this.getCurrentRow();
    Row newRow = this.createRow();
    newRow.setAttribute("Attribute1",currentRow.getAttribute("Attribute1"));
    newRow.setAttribute("Attribute2",currentRow.getAttribute("Attribute2"));
    /* more initialization code here */
    this.insertRow(newRow);
    this.setCurrentRow(newRow);
    it works fine but as i'm knew to ADF BC is this a good solution ? are there any drawbacks to it ?
    thanks
    -regards

    what's the advantage of exposing it in the application module rather than in the view object ?
    Message was edited by:
    user562278
    i've tried implementing the method in the application module (i had to call the findViewObject() now) but the "Row currentRow = vo.getCurrentRow();" instruction throws a NPE.

  • Need a powershell script that will modify the path of an existing Outlook 2010 OST file

    For new users we have a GPO in place that creates the OST file in the correct location.  The GPO also works on existing users who create a new Outlook Profile.
    The problem I am trying to solve is modifying an existing Outlook Profile and changing the location that the OST file is written to.
    I have to put the users OST file on the network.  Yes, I do know that this is not supported by Microsoft, but I have zero clients (WYSE units) on non-persistent VMware virtual machines.  This means they cannot keep the OST file on the PC. 
    Our email provider requires us to run in Cached-Mode so OST files are here to stay.
    Forcing 3000 users to create new Outlook profiles would not have a good outcome.
    I also have to relocate their PST files onto the network, which is also not supported.  I have been able to connect PST's with powershell, but disconnecting them has been challenging (can't make it work even once) so if I could get some help with that
    too that would be excellent.
    Thanks

    Hi,
    You may refer to the following article to create the registry keys and deploy it with logon script:
    http://www.slipstick.com/exchange/moving-outlook-ost-file/
    Best regards,
    Rex Zhang
    TechNet Community Support

Maybe you are looking for

  • Set_report_object_property

    I have included a rdf file as a part of a form. now I am trying to call that report . but before doing so I have to set certain user defined parameters for that report. I basically have two user defined parameters . so I am using the set_report_objec

  • My i pad is not responding to touch

    My ipad is not responding to touch.  It is very slow and most of the time does not work at all.  THis problem occured a few days after I updated to the newest version.  It is an ipad1

  • What's the difference between JRE and HotSpot

    What's the difference between JRE and HotSpot? Where can i find HotSpot for Solaris? tks!

  • Presentation Director loses settings when switching between Chinese and English

    I've done the "Install files for East Asian languages" and then set the "Language for non-Unicode programs" to "Chinese (PRC)". I do this for our presales people so they can show our prospects that our software is translated (for those that have plan

  • Screen value not being captured in Report

    Hi,       I have a designed a report program with multiple tabs. When i enter data into the selection fields, its not storing the values during the start of selection event. When i save the values as variant and then use it, the program works perfect