Image processing in JAVA

I m working on an image processing project and I want to know how JAVA supports image processing. Does it have proper API's for image handling and etc... And also about the performance, as JAVA would be slow for high processing jobs.
Any suggestions as to wat should be the best platform for working on it.

Some good books on this topic:
Digital Image Processing: a practical introduction using Java.
by Efford
Building Imaging Applications with Java Technology.
by Rodrigues
Image Processing in Java.
by Lyon

Similar Messages

  • Image Processing in Java (E-Book) Request

    Can anyone post the links for this e-book
    i think this e-book is helpful.so,iam requesting all of you.
    Image Processing in Java
    by Douglas A. Lyon
    Publisher: Prentice Hall PTR; Bk&CD-Rom edition (March 1, 1999)
    Language: English
    ISBN: 0139745777

    Check ebay, amazon or your local seller for a copy. Or if you want a free copy, write the author (maybe he's a generous fellow), but don't bother people on this forum with posts like this.
    - Travis

  • Image processing algorithms on video frames.

    Hello.
    I am trying to access video frames, one by one, and do image processing on each of them. this practically includes just a comparison of successive video frames to see how much the content is changing so as to detect when the scenes in the video are changing. i am already using a variation of the frame access code by java. i am able to retrieve the individual frames in the 'buffer' format, and i can convert it to .png and save them to hdisk too.
    what i need to know is whether i can use the buffer type itself to do pixel comparisons, or i need to convert it to an image first. any1 with experience in image processing in java will probably have an idea. and if u can suggest a package, or code whatsoever available online which can help me in my image processing demands, i would really appreciate that.
    thanks!

    Hi Greyfox,
    You can calculate a checksum on the bytes in a bufferedImage and keep a hold of it and use it to check against the next image like so:
    try
              raster = buffImg.getWritableTile(buffImg.getWidth(), buffImg.getHeight());
              imgBytes = ((DataBufferByte)raster.getDataBuffer()).getData();
              // Compute CRC-32 checksum           
         checksumEngine.update(imgBytes, 0, imgBytes.length);
         long checksum = checksumEngine.getValue();
         // Check if it's the same as the previous checksum.
         if (checksum == previousImageChecksum)
              isFrozen = true;
              // Do some logging to try and find out why the image is frozen.
              log.debug("--------- ALERT : DUPLICATE IMAGES FOUND ---------");
              log.debug("Checksum comparison. Current = " + checksum + ". Previous = " + previousImageChecksum);           
         else
              // Give the previous checksum the current value so we can use it for the next check.
              previousImageChecksum = checksum;
         catch (Exception e)
              log.error("Error calculating the checksum.", e);
         // The checksum engine can be reused again for a different byte array by calling reset()
         checksumEngine.reset();

  • How to process images(Zooming) in java

    Hai,
    In our project,i need to provide an option to the end user to zoom the image, i am able to provide options like rotating an image and flipping an image using java image processing API. If anybody has already visited the website http://photo.stamps.com/PhotoStamps/?source=cj00470773, where we can also zoom a photo(they done it using Flash). My requirement is similar to this site.
    I would be greatful if anybody can suggest me about how to zoom images using Java
    Thanks
    PRAMOD.

    Hi,
    You can use AffineTransform to scale an image.
    /Kaj

  • Image processing Manupulation problem!!!

    Dear all,
    God Morning! hope u all are fine .. i have an issue regarding Image processing Manipulation.
    i want to give u all the details.. what i have done so far in java.
    i have used third party tool of java called ImageJ editor for image manipulation.i got the source of it i have made neccessary customization to store / fetch the image from my table (Database).now this editor is working fine when i click on open option from menu bar it fetches the image from database and after fetching it put the image on container where one can edit/ modify the image and save it back to the table.
    the above proceeds me to display or store the edited image on the database . now i just want to integrate the editor on browser ..
    how to call the class file when i click on the link on specified page and also how to pass parameter from jsp page to java class file.??
    please help me to sort out d problem
    "Thanks and regards"
    Jonty

    Increasing the contrast springs to mind.
    When used to extremes it is sometimes called
    'cartoonising'
    Suppose your image was in 16 colors, you could
    reasonably safely assume at least two are red, two
    are blue, two are yellow ect.
    With regards an algorithm you are looking to 'round
    off' the color values to (my suggestion only) the
    nearest 64 or even the nearest 127...
    Bamkinjust be careful of that ORANGE color. Orange is a tricky color to define in either RGB or HSB, and is very similar to red and yellow. A little change in either direction makes it difficult to distinguish from one or the other.
    my thought would be to try to force your image to only six colors. Then those colors (it wouldn't really matter if they were accurate, as long as they are correctly distinguished) would be easy to identify.
    - Adam

  • Image processing with BLOBS: how to write BufferedImage to a BLOB

    Hi everybody - thanks in advance for any input on that topic.
    I'm doing image processing using AWT and 2D. Images are stored in a RDBMS as BLOB Type, which I get using JDBC and convert to a BufferedImage using a JDBCImageDecoder.
    Now, I have my BufferedImage and I can process them using the appropriate filters (ConvolveOp e.g.)
    Writing the BufferedImages to disk or display on screen is easy. But I can't get to write them to a BLOB Object. Any Hint ?
    (Of course, I'm speaking of oracle.sql.BLOB objects, not java.sql.Blob).
    Thanks and have a nice day

    Billy,
    Thank you for your answer. I have two questions.
    First what that means "Bob's your uncle ?" I'm a french man, not used to english special sentences ou jargon. Would enjoy to know !
    Second, I have created a PL/SQL procedure to update my table. I face a problem.
    I want to initialize b_lob with the img_blob value but I get an error : "ORA-22922: nonexistent LOB value". WHere do my error comes from ? I am fairly new in this stuff of BLOB.
    Below my procedure.
    Thank for your kind help.
    Christian.
    create or replace
    procedure insert_img as
    f_lob bfile;
    b_lob blob;
    loops number default 0 ;
    lines number default 0;
    stmt varchar2(4000);
    cursor c1 is select img_blob, file_name, pk from photos FOR UPDATE ;
    begin
    NULL;
    dbms_output.enable(900000);
    stmt := 'SELECT COUNT(*) FROM PHOTOS';
    EXECUTE IMMEDIATE stmt INTO LINES ;
    for ligne in c1 loop
    exit when loops >= lines ;
    loops := loops+1;
    update photos set img_blob= empty_blob() where CURRENT OF C1;
    -- return img_blob into b_lob;
    b_lob := ligne.img_blob ;
    f_lob := bfilename( 'MY_FILES', ligne.file_name );
    IF (DBMS_LOB.FILEEXISTS(f_lob) != 0)
    THEN
          DBMS_OUTPUT.PUT_LINE('BFILE exist: '|| ligne.file_name || ', ligne :'|| ligne.pk);
          dbms_lob.fileopen(f_lob, dbms_lob.file_readonly);
          dbms_lob.loadfromfile( b_lob, f_lob, dbms_lob.getlength(f_lob) );
          dbms_lob.fileclose(f_lob);
          dbms_output.put_line('ligne.pk :' || ligne.pk || ', lines : ' || lines || ', loops ' || loops);
      ELSE
        DBMS_OUTPUT.PUT_LINE('BFILE does not exist: '|| ligne.file_name || ', ligne :'|| ligne.pk);
      END IF;
    end loop;
    commit;
    end insert_img;

  • Image Processing using applet

    hi,
    I am doing my project in java.My project is " Online Image Processing ".
    I did some processing like gray Scale, Invert , Contrast and rotate 90 degree.
    can any one help me for
    1. I vant to rotate Image to 1 degree...
    2. How to get Blure and Sharpen image?
    3. Can i append frames inside applet?
    plz Help me ..

    I did not read the content of the links (To lazy) just found them for you.
    You say that the examples use frames:
    this should not be a problem as the required code is the same.
    Tip:
    How whould you display a image in a frame?
    How whould you display a image in a applet?
    Concentrate on the above 2 and simply change the code accordingly.
    This should be easy also try asking google.

  • Image Processing without AWT

    Hi everyone,
    Are there any libraries out there for image processing on J2ME devices? The device I am working on is JStamp, so it has not UI. Therefore no AWT. All image processing libraries seem to be based on AWT.
    When I try to upload Java classes using AWT, JStamp upload gives error, because there are native JNI methods in AWT.
    Thanks,

    Hi,
    I'm not quite sure what you are asking. What "image processing" could you possibly do on a system without a GUI? If you just mean storing or tranporting image files then you can treat it in the same way as any other data. If the system has no graphical ability then you obviously will not be able to display images (although I have seen an app once that converted a GIF into an ASCII art text file...)
    Please be more specific.
    Ben

  • Image processing - OutOfMemoryError

    Hi,
    I have a question about image processing programs. I want to write an image processing program (more as an exercise), so far I have succeeded with a few steps. I am able to create a new document and display it's contents on screen. It's based on the BufferedImage class basically. Now the problem is, when I enter dimensions in a New dialog to be 30000x30000 (that's a limit in Photoshop) I get an OutOfMemoryError such as below. How can I write a program that can be competitive to Adobe Photoshop. Photoshop can handle 30000x30000 pixels (and remember, it can have multiple layers etc.). How to achieve that in Java? Also, Photoshop (in the Preferences pane) allows to set the memory usage, there is a slider and one can just set how much memory Photoshop is about to utilize. Is that possible in Java?
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
            at pr.g.Picture.<init>(Picture.java:56)
            at pr.docs.DocCAN.<init>(DocCAN.java:24)
            at canvas01.DocHandler.createNewDoc(DocHandler.java:33)
            at canvas01.CanvasGUI.actionPerformed(CanvasGUI.java:309)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
            at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
            at javax.swing.AbstractButton.doClick(AbstractButton.java:337)
            at javax.swing.plaf.basic.BasicMenuItemUI$Actions.actionPerformed(BasicMenuItemUI.java:778)
            at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1645)
            at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
            at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:670)
            at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:678)
            at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:678)
            at javax.swing.JMenuBar.processKeyBinding(JMenuBar.java:649)
            at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267)
            at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:254)
            at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2928)
            at javax.swing.SwingUtilities.processKeyBindings(SwingUtilities.java:1554)
            at javax.swing.UIManager$2.postProcessKeyEvent(UIManager.java:1454)
            at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:722)
            at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
            at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
            at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
            at java.awt.Component.dispatchEventImpl(Component.java:4608)
            at java.awt.Container.dispatchEventImpl(Container.java:2143)
            at java.awt.Window.dispatchEventImpl(Window.java:2478)
            at java.awt.Component.dispatchEvent(Component.java:4566)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:680)
            at java.awt.EventQueue.access$000(EventQueue.java:86)PR.

    user5287726 wrote:
    Andrew Thompson wrote:
    Aardenon wrote:
    ..How can I write a program that can be competitive to Adobe Photoshop. ..Hire a team of programmers & analysts of the same general size as what Adobe assigns to Photoshop?
    .. Photoshop can handle 30000x30000 pixels (and remember, it can have multiple layers etc.). How to achieve that in Java? .. Increase the memory size assigned to the app. at start-up. No, wait.. those figures would suggest the image takes up 900 MPix, and given 4 bytes per pixel (RGBA) would increases that to around 3.6 Gb. Java has a hard limit around 2 Gb, AFAIR.
    Use a disk based store?If the OP is running a 64-bit OS, just use a 64-bit JVM. On a machine with a lot of RAM."My super duper Photoshop clone. Minimal system requirements: 64 bits CPU and 4gb of memory".
    Although I would laugh to see that happen, I would cry at the same time because people will of course blame such ridiculous practices on the fact that Java is used.

  • Image Processing in j2me

    Hi All,
    I want to do image processing in mobile application(j2me).
    But there are not enough java packages in mobile environment.
    How to do it please let me know if any body knows.
    Thanks.

    brightness: convert every RGB pixel to HSB -> increase luminance by constant value -> convert back to RGB
    contrast: convert every RGB pixel to HSB -> multiply luminance by constant value-> convert back to RGB
    You can also do both in one go.

  • Image Processing (JAI-API) Instalation problem

    I am developing the software in Image processing (remote sensing). I am facing the following problem when i run the program.
    C:\java_ex>javac SimpleJAITest.java
    SimpleJAITest.java:23: cannot resolve symbol
    symbol : class ScrollingImagePanel
    location: class SimpleJAITest
    ScrollingImagePanel panel1, panel2;
    ^
    SimpleJAITest.java:36: cannot resolve symbol
    symbol : class ScrollingImagePanel
    location: class SimpleJAITest
    panel1 = new ScrollingImagePanel(loadImage, 300, 300);
    ^
    SimpleJAITest.java:78: cannot resolve symbol
    symbol : class ScrollingImagePanel
    location: class SimpleJAITest
    panel2 = new ScrollingImagePanel(outImage, 300, 300);
    ^
    Note: SimpleJAITest.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    3 errors
    Please send the information regarding installation of Java Advance Imaging kit
    and link to download JAI API
    Also send the solution of this problem

    C:\java_ex>javac SimpleJAITest.java -Xlint:deprecation
    SimpleJAITest.java:23: cannot find symbol
    symbol : class ScrollingImagePanel
    location: class SimpleJAITest
    ScrollingImagePanel panel1, panel2;
    ^
    SimpleJAITest.java:29: warning: [deprecation] set(java.lang.Object,java.lang.Str
    ing) in javax.media.jai.ParameterBlockJAI has been deprecated
    loadPB.set(argv[0], "hs");
    ^
    SimpleJAITest.java:36: cannot find symbol
    symbol : class ScrollingImagePanel
    location: class SimpleJAITest
    panel1 = new ScrollingImagePanel(loadImage, 300, 300);
    ^
    SimpleJAITest.java:39: warning: [deprecation] show() in java.awt.Window has been
    deprecated
    window1.show();
    ^
    SimpleJAITest.java:78: cannot find symbol
    symbol : class ScrollingImagePanel
    location: class SimpleJAITest
    panel2 = new ScrollingImagePanel(outImage, 300, 300);
    ^
    SimpleJAITest.java:81: warning: [deprecation] show() in java.awt.Window has been
    deprecated
    window2.show();
    ^
    SimpleJAITest.java:87: warning: [deprecation] set(java.lang.Object,java.lang.Str
    ing) in javax.media.jai.ParameterBlockJAI has been deprecated
    savePB.set(argv[1], "filename");
    ^
    SimpleJAITest.java:88: warning: [deprecation] set(java.lang.Object,java.lang.Str
    ing) in javax.media.jai.ParameterBlockJAI has been deprecated
    savePB.set(argv[2], "format");
    ^
    3 errors
    5 warnings

  • General Question Regarding Image Processing

    Hi All,
    I need a suggestion regarding image processing and this is the best place to get best advise.
    we need an image processing utility for our web processing.
    requirements are as described below:
    we have a e commerce based application where we need to display product images which we are currently displaying successfully.
    now we have to provide user with image processing functionality like user can zoom image can flip image can rotate image.
    what we want like when user click on zoom we can generate a dynamic image of that region based on a single source of image and can provide zooming functionality.
    more over company requirements is to go for only open source solution [:-)]
    we tried some open source solutions but due to the in house E-Commerce framework constraints we not able to integrate them,.
    can any one point me to any open source java based library so that we can use that to provide solution or do we need some other approach.
    Here is a link for a image zooming example hough this is highly professional solution using Adobe Scene7 but we want to implement something like in image zooming
    [Zoom Demo|http://s7d2.scene7.com/s7ondemand/zoom/flasht_zoom.jsp?company=S7Web&sku=AnthroISwebDemo&config=S7Web/AnthroISwebDemo&zoomwidth=500&zoomheight=500&viewer=/skins/S7Web/SWFs/loaders/genericzoomLfour.swf&vc=codeRoot%3D%2Fis-viewers351%2Fflash%2F]
    any help in this regard will be much appreciated.
    Thanks in advance
    -Umesh

    It is never safe to assume that any allocation was successful, and while it's incredibly unlikely that you're running into any such situation, it's entirely possible for a formal protocol to declare that a given message send should return immediately without waiting around:
    http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/ch apter13_section_8.html#//appleref/doc/uid/TP30001163-CH9-BAJIGHAF
    An "impression" doesn't prove much unfortunately, so I'd recommend getting friendly with the debugger to see what's really going on.

  • Error Occured while Invoking a BPEL Process from JAVA

    Hi.....
    When initiating a BPEL process from JAVA the code is working fine and the Process is getting initiated.But while using that code in J2EE project as a java code and while calling that method Error is occuring.....
    Here by i am attaching my JAVA Code which runs as an applicateion and package which runs in Server....
    JSP and Java Method Used:
    JSP Code:
    ===============
    <%@ page import=" bo.callbpel" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>FEATT - I30</title>
    </head>
    <body>
    <%
    String input=request.getParameter("dnvalue");
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    out.print("The Input Given to the BPEL Process is : "+input);
    %>
    <BR><BR><BR><BR><BR><BR>
    <%
    out.print("The Reply from BPEL Process is : "+Output);
    %>
    </body>
    </html>
    Java Code:
    package bo;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Map;
    import java.util.Properties;
    import oracle.xml.parser.v2.XMLElement;
    /*import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest ;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession; */
    //import java.util.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class callbpel {
         public String Initiate(String value){
              String replyText=null;
              String input = value;
              System.out.println(input);
              String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
              String xml="<ns1:BPELProcess1ProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/BPELProcess1\">";
              xml=xml+"<ns1:input>"+input+"</ns1:input>";
              xml=xml+"</ns1:BPELProcess1ProcessRequest>";
              try{
              Properties props=new Properties();
              props.setProperty("orabpel.platform","ias_10g");
              props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
              props.setProperty("java.naming.provider.url","opmn:ormi://157.227.132.226:6003:home/orabpel");
              props.setProperty("java.naming.security.principal","oc4jadmin");
              props.setProperty("java.naming.security.credentials","oc4jadmin");
              props.setProperty("dedicated.rmicontext", "true");
              Locator locator = new Locator("default", "bpel", props);
              String uniqueBpelId = com.collaxa.cube.util.GUIDGenerator.generateGUID();
              //System.out.println(uniqueBpelId);
              //java.util.Map msgProps = new HashMap();
              System.out.println("After creating the locator object......");
              IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
              System.out.println("Before creating the NormalizedMessage object......");
              NormalizedMessage nm = new NormalizedMessage();
              System.out.println("After creating the NormalizedMessage object.*.*.*...");
              //msgProps.put("conversationId",uniqueBpelId);
              //nm.setProperty("conversationId",uniqueBpelId);
              nm.addPart("payload", xml);
              System.out.println("Before creating response object......");
              NormalizedMessage res = deliveryService.request("BPELProcess1", "process", nm);
              System.out.println("After calling the BPELProcess1 .*.*.*...");
              Map payload = res.getPayload();
              System.out.println("BPEL called");
              XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
              replyText=xmlEl.getText();
              System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
              catch (Exception e) {
              System.out.println("Exception : "+e);
              e.printStackTrace();
              return replyText;
    While Creating and Object for the Class callbpel and Whilw Calling that Method
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    Its throwing an Error:
    Error Occured is:
    After creating the locator object......
    Before creating the NormalizedMessage object......
    After creating the NormalizedMessage object.*.*.*...
    Before creating response object......
    Apr 24, 2008 9:12:00 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at bo.callbpel.Initiate(callbpel.java:55)
         at org.apache.jsp.output_jsp._jspService(output_jsp.java:55)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    For Running JSP i am Using Eclipse 3.2.0 and apache-tomcat-5.5.25
    Please Provide me a Solution......
    Thanks in Advance.....
    Regards,
    Suresh K

    Have got the same problem. Scenario at my end is little different though.
    I am trying to invoke a BPEL process from an ESB Service.
    I am trying to look into it..
    However, would be grateful, if someone can give some insight into this since many are running into this issue without being able to fix.
    Ashish.

  • Error while invoking Livecycle process with Java

    Hi,
    I am trying to invoke a short lived process using java code. But when i try doing that i get the following error
    cannot access class com.adobe.idp.dsc.clientsdk.ServiceClient; class file has wrong version 49.0, should be 45.3 or 46.0 or 47.0 or 48.0.
    I am using the following versions:
    Adobe Livecycle: 9.0
    java version "1.5.0_03"
    JDeveloper: 9.0.5.2
    Can some one please suggest the appropriate action i need to take so that i can compile the code.
    Thanks in advance

    If you are invoking LiveCycle ES2 on JBoss compile with JDK 1.6 and run against JRE 6.
    Steve

  • Image Processing in C#

    What I want to do is as in the following.
    1. Load image from jpg/bmp file and display on the PictureBox or any other image control keeping image ratio
    2. Perform Image Processing, for example, zoom in/zoom out, change brightness/contrast
    Does any .NET class supports this? or should I implement it with my own code?
    If I should make my own code, is the PictureBox optimal control?

    Hmm.  If you don't know where to start then maybe the do-it-yourself approach is not going to work for you.
    Here's code for a simple control you can use to display an image with a transform matrix and a color matrix.
    using System;
    using System.Drawing;
    using System.Drawing.Drawing2D;
    using System.Drawing.Imaging;
    using System.Windows.Forms;
    class ImageControl : Control
    public Image Image
    get
    return image;
    set
    image = value;
    Invalidate();
    private Image image;
    public Matrix Transform
    get
    return transform;
    set
    transform = value;
    Invalidate();
    private Matrix transform = new Matrix();
    public ColorMatrix ColorMatrix
    get
    return colorMatrix;
    set
    colorMatrix = value;
    Invalidate();
    private ColorMatrix colorMatrix = new ColorMatrix();
    protected override void OnResize( EventArgs e )
    Invalidate();
    public ImageControl()
    this.DoubleBuffered = true;
    protected override void OnPaint( PaintEventArgs e )
    if( image == null ) return;
    e.Graphics.ResetTransform();
    e.Graphics.Transform = transform;
    ImageAttributes imageAttributes = new ImageAttributes();
    imageAttributes.SetColorMatrix(
    colorMatrix,
    ColorMatrixFlag.Default,
    ColorAdjustType.Bitmap );
    e.Graphics.DrawImage(
    image,
    new Rectangle( 0, 0, image.Width, image.Height),
    0, 0, image.Width, image.Height,
    GraphicsUnit.Pixel,
    imageAttributes );
    You can set a transformation matrix to do the zooming, panning, etc.  And set a color matrix to do simple contrast brightness adjustments.
    // Some example matrices
    float[][] colorMatrixElements = {
    new float[] {2, 0, 0, 0, 0}, // red scaling factor of 2
    new float[] {0, 1, 0, 0, 0}, // green scaling factor of 1
    new float[] {0, 0, 1, 0, 0}, // blue scaling factor of 1
    new float[] {0, 0, 0, 1, 0}, // alpha scaling factor of 1
    new float[] {.2f, .2f, .2f, 0, 1}}; // three translations of 0.2
    ColorMatrix colorMatrix = new ColorMatrix( colorMatrixElements );
    Matrix transform = new Matrix(
    1.5f, 0.0f, // horizontal scale of 1.5, 0
    0.0f, 0.5f, // 0, vertical scale of 0.5
    20.0f, 40.0f, // horizontal offset of 20, vertical offset of 40
    Contrast and brightness are performed together in a single matrix.  Contrast scales the output range and brightness is the offset.
    Zooming is just scale and offset.

Maybe you are looking for

  • How do I install itunes on a surface pro 2 tablet?

    My ipad won't update through the ipad so I need to do it through my computer but all I have is a surface pro 2 windows tablet and I cant install iTunes on it. Is there anyway to download it for my computer or other ways of updating ipads if it wont w

  • No longer able to save iCal calendars "on my mac"

    I have some of my iCal calendars saved "on my mac", and some of my iCal calendars saved "on iCloud". After updating to 10.8.2, syncing of calendars in the iCloud settings preference pane were not enabled. I enabled it, and was asked if I wanted to me

  • Using BI Publisher template builder in Word in creating labels

    Hello, I'm not familiar with BI Publisher, but I should only do one thing with it, which seems rather easy. I need a rtf layout to be used in APEX to create an address label PDF-report. I tried using mail merge to create an empty table for the labels

  • Unable to install/update apps in IPhone-4s after updating OS to IOS 6

    Hi ,      After updating to IOS 6 i'm not able to download/update apps on my phone. It says Account Not In The Store Your account is not valid for use in U.K store. You must switch to the Indian store before purchasing. For example: I tried installin

  • Mobile/Small Devices version of KBs is ready (SEO Ready)

    And finally it's done...I am sorry for the delay but on Sept it was XHTML ready but now its ready with HTML5. (You can validate some KBs against http://validator.w3.org and see that most of the pages conform to Web Standards) Please check your person