Java code to perform the erosion operation on the image

hi friends
I want to perform the morphological erosion operation on an image
can u help me how to write code for this operation?
waiting for your reply....

I assume from your descrption this is not a new computer and that you have been using Premiere Elements 9 on this machine for at least two or three years (since version 9 came out three years ago).
If the program worked in the past and has suddenly starting "acting out", something has likely gotten corrupted -- possibly during your upgrade to Mavericks or simply due to your computer being more than a year or so old.
First, run a check on your fonts, as described in this FAQ. Corrupted fonts on a Mac is one of the most common causes of problems on OSX.
http://forums.adobe.com/thread/940869?tstart=0
You may also want to run a disk verification on your hard drive. Do this by opening Finder, going to Utilities and opening the Disk Utilities app.
You can also try launching Premiere Elements while holding down the Opt+Cmd+Shift keys on the left side of your keyboard to clear any corruptions in the preferences file.
If all of that fails to fix things or indicate a problem, I'd recommend you uninstalling Premiere Elements and then reinstall it. (Don't worry. You won't lose any work in progress.)

Similar Messages

  • Static initialization of java code included in the Imported Archives jars?

    Hi
    Does SAP PI 7.0 support static initialization of java code included in the Imported Archives jars?
    Static block of a java class included in the Imported Archive jars throws a Runtime Exception called ExceptionInInitializationError while trying to run.
    Regards,
    RDS

    Have you tested the code outside PI?

  • Need  java code to perform refresh button action using swings and awt

    i need java code to perform refresh button action using swings and awt.please help me

    Wait ! Noboby ? OK, I'll do it
    public void onBtnAction ()
        if (!fresh)
            refresh ();
    }Seriously, did you expect anyone to answer such a cryptic question ?

  • How to write java code to read the pixel color in some place of screen?

    Hello all:
    How to write java code to read the pixel color in some place of screen?
    The java application iteself doesn't have any GUI.
    thank you
    -Danel

    See java.awt.Robot

  • How do I pass an error status from my java code back to the Program Job Ser

    How do I pass an error status from my java code back to the Program Job Server?
    I have a jar program object that reports a scheduled status of "Success" even if the java code errors out.

    Exceptions thrown from the program object are ignored by the program job server.
    You need to configure the Program Object, then stream out a special string sequence to the stdout of the Program Object, to set the scheduled instance status to Failed.
    Look up SAP KBase  1201804 - How to programmatically set the status of a Program object to "Failed"
    Sincerely,
    Ted Ueda

  • Update the result to client (JAVA code) aftere completing the user task

    Hi All,
    I have a simple workflow activity with in my BPEL process .
    FLOW is like this:
    1)----->Initiate/Process
    2)----->Workflow user task
    3)Approve/Reject /Others
    4)If APPROVE a call to web-service method
    5)reply
    If i got the out put as approve the next step is a call to web-service which should give the output to client(JAVA code).
    Is the above senario possible through BPEL.
    Thanks,
    Kalyan.

    HI ALL
    I fixed this problem. Problem was because of classpath. After setting the path of class file in classpath, issue was fixed.
    Regards
    Arun

  • Performing Window Leveling operation on an Image

    I need help for performing window leveling operation on an image. Which has to be triggered using Mouse Drag Event. I have been working on it for past 4days . I need help badly.
    Thanks in advance
    Prasad

    Intensity range is defined as Window & distance between the two ends is called Window width. Intensity of the Pixels above or below the window is mapped to balck or white.I hope i was clear.
    By adjusting this we can adjust the Brightness & contrast of the Image.
    Prasad

  • Sample Java  Code to send an HTML mail with embeded image

    Hello,
    Please can I get a sample Java code on sending an HTML mail with embeded image.
    The HTML message and relevant input parameters withhbe supplied from a PL/SQL that will call the class , the class will embed the image and send the mail to the recepient.

    tev wrote:
    Please can I get a sample Java codeNo. This is a forum, not a code mill.
    Recommended reading: How to ask questions the smart way
    db

  • Java code to perform admin tasks

    Hi All,
    I am in need to develop a java program which allows me to perform add (new account creation)/ modify/delete/suspend/change password/ search operations on the groupwise accounts.
    Is this possible through java code or it has to be done using c++.
    Any inputs towards this will be highly appreciated. Thanks in advance
    Thanks,
    Gangadhar

    Wait ! Noboby ? OK, I'll do it
    public void onBtnAction ()
        if (!fresh)
            refresh ();
    }Seriously, did you expect anyone to answer such a cryptic question ?

  • Pythagors into java-code (i got the idea, i think,  but need it simplified)

    Goodday all :),
    I have been trying to turn the forumula | a^2 + b^2 = c^2 | into java code.
    To clear it up a little more;
    1. Define unknown variable
    2. Define values of other two variables
    3. Program calculates
    x1. unkown variable is 'a'
    x2. b = 20 , c = 40
    x3. a = [(40^2) - (20^2)] ^0.5 (sorry couldnt figure out superscript)
    What i was thinking as a concept;
    1. Java asks for uknown value -> user defines as 'a' , 'b' or 'c'.
    2. Java If else statement
    2.1 if 'd' -> java asks again
    2.2 else 'e' --> java asks again etc (if else statemenst from d - z)
    import java.io.*;
    public class example {
         public static void main(String[] args) {
              System.out.println("define uknown value");
              BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
              boolean running = true;
              while(running) {
                        String line = reader.readLine();
                        if (line.startsWith("d")) {
                             System.out.println("wrong input, define unknown value");
                             running = true;
                             } else      if (line.startsWith("e")) {
                             System.out.println("wrong input, define unknown value");
                             running = true;
                             } else      if (line.startsWith("f")) {
                             System.out.println("wrong input, define unknown value");
                             running = true;
                             } else      if (line.startsWith("g")) {
                             System.out.println("wrong input, define unknown value");
                             running = true;and furter i was thinking;
    If a, b or c is pressed it will ask for the values of the other two
    and it will be such a code as above, repeating itself;
                        String line = reader.readLine();
                        if (line.startsWith("a")) {
                             System.out.println("please define b");
                             running = true;
                             if (line.startsWith("1")) {
                             int x = 1;
                             System.out.println("b=1");
                             running = true;
                             } else      if (line.startsWith("2")) {
                             int x = 2;
                             System.out.println("b=2");
                             running = true;
                             } else      if (line.startsWith("3")) {
                             int x = 3;
                             System.out.println("b=3");
                             running = true;and so on till, lets say 1000?
    Now my question is;
    Is this the right way to make this program?
    I would have like a .java file of severel megebytes if i wanted the values to get up to 10000 or something >.<

    Aargh! No. This code snippet might be of help.
    try {
       int x = Integer.parseInt("42");
       System.out.println("X = " + x);
    } catch( NumberFormatException e ) {
       System.err.println("Not a number: " + e);
       e.printStackTrace();
    }You would probably also find it useful to read about "regular expressions" if you always expect the formula to have exactly the same form.

  • Execute java code before rendering the page

    Hi,
    In a task flow, can I execute some java code before the page/view is rendered (i.e. some preprocessing). I would need to be able to have access to the bindings on the page.
    Thanks!

    Can you try doing as specified below:
    If it is simple JSPX, you could use the phase listener as follows:
    JSPX Code:
    <f:view beforePhase="#{SamplePageBean.phaseListener}">
    <af:document id="d1">
    <af:form id="f1">
    <af:panelFormLayout id="pfl1">
    <f:facet name="footer"/>
    </af:panelFormLayout>
    </af:form>
    </af:document>
    </f:view>
    Bean Code:
    public class SamplePageBean {
    public SamplePageBean() {
    public void phaseListener(PhaseEvent phaseEvent) {
    if (phaseEvent.getPhaseId().equals(phaseEvent.getPhaseId().RENDER_RESPONSE)) {
    // DO NECESSARY INITIALIZATION
    Thanks,
    Navaneeth

  • Java code common to the applications modules

    I need help to generalise some methods and include them in project.
    I have some Java methods and I need it to be able to include/calll these methods from different application modules.
    I need it accessible to all app modules.
    Is there any way to do it?

    what we do is create a root application module to be the parent of all our app modules. edit that root app module and add your other app modules as nested app modules under the "Application Modules" section. then in your child app module java code you can initialize your root application module by using the getRootApplicationModule() method:
    YourServiceImpl yourServ = (YourServiceImpl)getRootApplicationModule();
    then you have access to all your methods in the master app module. however, to make sure you're accessing your app module in the desired hierarchy, you have to base your jhs app def file on your root app module or use your app module under the desired hierarchy in any of your custom adf pages.
    hope this helps
    paul

  • How to modify the code to use the image on stage instead of in library?

    Hi, The following code I found on website is for working with the image which is in library. But how to modify it to work with the image on stage. Because I don't want to use it from the library. The second question ------ Is it the AS2 code or AS3. If it is AS2 code then please let me know how to modify it to work with AS3. animator = CreateEmptyMovieClip('animator',1);
    bg_1 = animator.attachMovie('bg_mc','bg_1',1);
    bg_2 = animator.attachMovie('bg_mc','bg_2',2);
    bg_1._x = bg_1._width/2:
    bg_2._x = bg_2._width/2:
    speed = 1;
    cloudWidth = 380;
    animator.onEnterFrame = function(){
    bg_1._x -= speed:
    bg_2._x -= speed:
    if(bg_1._x <= -bg_1._width) bg_1._x = cloudWidth;
    if(bg_2._x <= -bg_2._width) bg_2._x = cloudWidth;
    } Thanks.

    There is no need for attach the clip if it is not in the library and it is the AS2 code below is the relevant code in AS3 when it is in stage:
    i) Convert your first image into a movieclip with the instance name "bg_1"
    ii) Convert your second image into a movieclip with the instance name "bg_2"
    iii) Actions:
        var speed:Number = 1;
        var cloudWidth:Number = 380;
        bg_1.x = bg_1.width/2:
        bg_2.x = bg_2.width/2:
        this.addEventListener(Event.ENTER_FRAME,fn);
        function fn(e:Event):void{
            bg_1.x -= speed:
            bg_2.x -= speed:
            if(bg_1.x <= -bg_1.width) bg_1.x = cloudWidth;
            if(bg_2.x <= -bg_2.width) bg_2.x = cloudWidth;

  • Java code to access the SLD

    Hi,
    I'm writing a java application that needs to connect to the SLD Server and then query and return data about the SID and available instances and associated database(s).
    I have figured out the connection piece using  SAP_JCODestinationAccessor, but have not figured out how to get the SID and instance names.  It appears that the methods I want to use are in the lcrclient.jar file (perhaps SAP_ApplicationSystemInstance?
    Are there any code example or javadocs that are available to help me understand the methods that are available for data retrieval from the SLD?
    Thanks in advance,
    Tammy

    Hi,
    Yes, the examples are where I got my start from.  In general my problem is that I didn't have an JCO's defined, so no data was being returned. Thus the example only helped me minimally.
    I'm assuming that when not using a JCO, I still can make a connection to the SLD Server and then using the CIM objects be able to retreive the SID and associated instances.
    Tammy
    Tammy

  • Java code to minimize the command prompt window when we hit

    Hi All,
    I am using Command promt to convert frame maker files to pdf files... When I hit the batch file, Command prompt window is coming on to the center of the screen, customer doesnt want this one .
    Is there anyway to minimize the command prompt window like we can show up in the status bar and not on the screen .

    To get better help sooner, post a [_SSCCE_|http://mindprod.com/jgloss/sscce.html] that clearly demonstrates your problem.
    Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
    db

Maybe you are looking for