Results 1 to 3 of 3

Thread: Warping

  1. #1
    Join Date
    Mar 2009
    Posts
    3
    Rep Power
    0

    Default Warping

    hello all who read this

    I was hoping that someone could help me with the following hurdle in my programming. I am tryin to apply warping to an image using source and target images placed into two seperate arrays

    //source// short [][] rawPixelArray2D = new short[imHeight][imWidth];
    //target// short [][] targetImage = new short[imHeight][imWidth];

    I think the idea is to create two grids and pick the points in the first grid and transform the image to the second grid of points.
    However, I have no idea what I need to do to apply warping in terms of code implementation.

    Thank you for your time hope someone can help me

    anything would be a big help

    if you need further info to help just ask

  2. #2
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Posts
    671
    Rep Power
    6

    Default

    To do warping, you need a nonlinear transformation from one coodinate system to another. There's nothing like that in the standard Java API, but I suggest looking into JAI (Java Advanced Imaging), or JMagick, which is a thin JNI wrapper around imagemagick.

  3. #3
    Join Date
    Mar 2009
    Posts
    3
    Rep Power
    0

    Default

    Im affraid i need to apply it in standard java. Thanks for your help though.

    If someone could explain what steps i need to do to apply warping I might be able to do it.

Similar Threads

  1. Image Processing (warping)
    By DingoAteMyBaby in forum New To Java
    Replies: 0
    Last Post: 03-30-2009, 01:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •