Transformation of 2D image to 3D

Hi all,
I am new to Java3D. I am desperately needing help to complete my work of converting a single 2D image to 3D using Java.
What API should I use, or is there some way to do it using JAI API.
Please help me.
Awaiting your valuable reply.
Thanks,
Sujeet.

That is not a feature of iPhoto
LN

Similar Messages

  • Apply same Perspective transform to multiple images ?

    Hi guys ... I have a set of images, and I want to apply the same Perspective Transform to all the images. Note that all images have the exact same size, meaning that after apply the same Perspective Transform, they should all still have the exact same size.
    For example, here is the transform I want:
    From this:
    To this:
    Problem is that when I manually apply the transform to each image individually, they don't have the *exact* same size afterwards.
    Isn't there a way that I can just apply the transform to one image, and then that transform is applied on the other images ? I think I can use the Smart Object functionality here, but I don't have any experience on that.

    Hi,
    Recording an action might work if the images are the same pixel dimensions.
    more about actions:
    http://blog.epicedits.com/2008/03/07/how-to-create-photoshop-actions/
    http://morris-photographics.com/photoshop/tutorials/actions.html
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7448a.h tml

  • 2D Fourier Transform of an image to remove grating

    I'm trying to remove a grating that has been added to my image:
    My plan is to perform a 2D Fourier transform of the image. The grating will come up as a block signal, so that's an infinite series of frequency, growing weaker as it goes to higher and higher components. So I want to block those frequences whilst at the same time preserving my image as much as possible (I know this is kinda contradictory).
    Unfortunately, I am failing at the first step: transforming it to the Fourier domain. This is my code:
    When I try to run it I get this error.
    Anyone have any ideas to fix this?
    Attachments:
    Fouriertransform.vi ‏12 KB

    Hi Choisai,
    I found a Knowledge Base that possibly will help you, check the following link: http://digital.ni.com/public.nsf/allkb/12039EFD213​AD08086257B6E0030FDC6?OpenDocument
    One more thing.. I do not see anywhere assigned path to get the image, which in future will throw an error for sure.
    Best,
    Bozhidar

  • Transform a rectangular image into a trapezoid

    Hi i want to transform an image from a regular rectangle to a
    trapezium (almost like a flat topped triangle). Is that possible
    with actionscript?

    You can use shape tween
    Create a rectangle on frame one
    Hit F5 to extend the frames to say 10
    click on the last frame and hit F6 on the keyboard
    Click on the last frame
    move your cursor over the rectangle and shape as needed by
    pulling the edges adding points.
    Click once on the first frame
    Hold Shift and click on the last frame
    Go to the properties panel and choose Shape tween from the
    drop down
    Shane

  • Transformer un format image JPEG en calque transparent DNG

    Bonjour
    Comment puis je transformer une image en format JPEG en un autre format, comme DNG fond transparent.
    Le but étant de mettre cette image en calque incrustation ou superposition ou produit dans une autre image pour faire du compositing ?  
    (le résultat étant comme les fichiers que l'on peut télécharger gratuitement ... , afin de les faire moi-même)
    merci de votre aide
    Bien cordialement
    Christiane DELBECQUE

    Raw formats do not support transparency therefore DNG is the wrong choice to begin with. That and of course your choice of format should/ will be driven by how people are actually able to open your file, meaning it will have to be TIFF, PSD or PNG. You can create transparency in a variety of ways using selections and so on, but really, this is something for which you can just read the help or watch a tutorial on the Internet. The rest is not relevant - even if you provide the file with transparency, it doesn't automatically mean that people will not need extra steps to actualyl use the transparency info.
    Mylenium

  • Transform Text to Image?

    I'm asking this question also on the Acrobat forum.
    I'm submitting a pdf to a vendor (bookbaby) to be converted to epub.
    Previous submissions mangled captions on photos, separating them from photos, mixing them up with text.
    I've been informed that if I include the captions as PART of the photos, they won't be searchable, but they WILL then remain fixed with the photos (plus changing fonts, font sizes, won't affect them).
    How can I turn the caption text into image so that it won't be confused with regular text?
    Can I do it in Adobe Acrobat, or must I do it in Indesign before I export it to Acrobat?
    Thanks for any help  (and don't ask why I don't try to do an epub myself. I've tried. It's a can of worms with all 87 images I've got.)

    You can maybe try Create Outlines feature in InDesign. What this feature does is convert the text to vector outlines.
    Select the frame containing the caption and chose the menu Type > Create Outlines
    Thanks

  • Transform JTable in Image

    Hi,
    How can I tranform a JTable to a Image?Is it possible?
    I want to draw it in a PDF file

    you could make an image out of it by using the robot class like:
    import com.sun.image.codec.jpeg.*;
    public class ScreenCapture
    final BufferedImage screenShot;
    //  Method used to snap the shot
    public ScreenCapture()throws Exception{
    Robot robot = new Robot();
    final String tessst  = "test.jpg";
    screenShot = robot.createScreenCapture(new Rectangle(frame.x, frame.y, 359, 272));     
    saveImageAsJPEG(screenShot,10000000,tessst);
    //  Method used to save the image as a jpg file
    public static void saveImageAsJPEG(BufferedImage bi, float quality, String filename)
    try {      
      ByteArrayOutputStream boutstream = new ByteArrayOutputStream();   
      JPEGImageEncoder enc = JPEGCodec.createJPEGEncoder(boutstream);  
      JPEGEncodeParam enparam = JPEGCodec.getDefaultJPEGEncodeParam(bi); 
      enparam.setQuality(quality, true);  
      enc.encode(bi, enparam);
      FileOutputStream fimage = new FileOutputStream(new File(filename));
      boutstream.writeTo(fimage); 
      fimage.close();
      catch (Exception e) {
      System.out.println(e); }
    }

  • Free Transform Vs. Image Size - Quality Impact?

    I'm using Photoshop CS3 and I have a quick query regarding the difference in image quality between resizing an image using 'Image Size' compared to 'Free Transform'.
    I'm laying out several individual photographs on to a page (with some precision) and therefore using the transform function to scale the image to the right size is certainly the quickest and easiest option. However, I have always been keen to ensure maximum image quality and I don't know if this will degrade the image more than resizing the image using 'image size' before pasting it (obviously with a lot more effort involved).
    Any thoughts?

    Many thanks for your replies - that's very useful.
    I should have mentioned that I will always be resizing down. Also, when performing my standard method for resizing (using Image Size) I always stick to the standard Bicubic then follow up with sharpening (specific for my output). What you've told me is great as it means I can simply perform the transform of each image and then an output sharpening on the entire canvas. This should be equivalent to resizing, sharpening and then copy-paste of individual images to the same canvas.
    Using smart objects (which I seldom do at the moment) is an interesting thought, which I'll have to look into. I could copy a smart object from each of my source files, resize and then perform a smart object sharpening to them...
    Many thanks again!

  • CS3 Lion Error: Free Transform Blurs and Distorts Image

    Pretty self-explanitory when you look at the pics:
    You can see that when the image is rotated, it becomes blurry and the edges become jagged. The more the image is rotated the worse the condition becomes. I never had this problem before upgrading to Lion. Can anyone help me? Thank you!

    Many thanks for your replies - that's very useful.
    I should have mentioned that I will always be resizing down. Also, when performing my standard method for resizing (using Image Size) I always stick to the standard Bicubic then follow up with sharpening (specific for my output). What you've told me is great as it means I can simply perform the transform of each image and then an output sharpening on the entire canvas. This should be equivalent to resizing, sharpening and then copy-paste of individual images to the same canvas.
    Using smart objects (which I seldom do at the moment) is an interesting thought, which I'll have to look into. I could copy a smart object from each of my source files, resize and then perform a smart object sharpening to them...
    Many thanks again!

  • Transform an Edge .oam file in Muse

    This for when you right-click on a .oam file in Edge.
    I dropped in two additional options of Transform and Poster Image…:

    Hey Thats for your help. I'm new to dreamweaver can you please explain a bit more as to what I need to change.
    Here is the line of code for the Animate content:
    <object id="Page1" type="text/html" width="1116" height="620" data-dw-widget="Edge" data="../../ServiceIQ Online Flyer/edgeanimate_assets/page1/Assets/page 1.html">
            </object>
    Do I just change <object id> to <iframe>? and leave everything else?
    In your snippet below, what is the <COMPOSITION ID>?
    var comp = document.getElementById('<IFRAME ID>').contentWindow.AdobeEdge.getComposition("<COMPOSITION ID>");
      comp.getStage().playMovie('one');

  • Easy way to replace images in keynote without losing formating?

    I have a keynote document that contains a large number of images which have been formated in various ways using the tools in keynote (resizing, masking, builds, etc.). When I noticed that the presentation was performing rather slows (locking up, delayed response, etc.), I took a closer look at the image files and discovered that they were 600 dpi. I changed the resolution of the files down to 72dpi in photoshop and replaced the original image with this new lower resolution version. The performance and that slide was greatly improved. However, I now have over 100 images that need the same treatment. I can pull the image file out of keynote fairly easily by dragging the file icon from the file info box of the the metrics tab of the inspector window into a finder folder. BUT, here is the question: is there a way to quickly and easily replace the original 600dpi images in keynote with the new ones that I have scaled down to 72 dpi in photoshop? As far as I can tell, I cannot simply drag the new image (or copy/paste) into the file info box of the metrics pane in the inspector window. Any suggestions???

    If the scaling between the 600 DPI and 72 DPI versions of the images are different, then there likely isn't any way to do a bulk change. If, on the other hand, you just need to replace the images themselves, but the same effects are applied (e.g., same scaling, masking, etc.), then you may be able to batch replace them by tinkering with the presentation package. All Keynote presentation are actually "packages", collections of files that appear to the Finder as a single file. If you select the presentation icon while holding down the Control key, then choose "Show Package Contents" from the popup menu, you'll see the files inside the presentation. These files will include the original image files. If you name your 72 DPI files exactly the same as their 600 DPI versions, and replace the old versions with the newer, smaller versions, Keynote should use those new images exactly as it did the old ones.
    If you have done a bunch of transformations on the images in Keynote, I'm a bit dubious that this will work, but it may be worth a shot.

  • How can I set a filter to recalculate (per frame) on a imaging I am panning in a video track?

    Have an image larger than my canvas that I pan across over three seconds. Apply a tilt shift effect to a smart layer but I do not wish the tilt shift to pan with the image I want the 'camera' to be fixed on sticks and panning the image.
    Would try and approximate in AE but there's no tilt shift filter that I can see and this is a rush job. Guassian with a gradient mask doesn't give the bohek effects etc etc
    In fact a way to uncouple a mask (for a guassian blur filter effect) from the transformation of the image would be a good start on this process.

    I didn't realise one could make a smart object of a smart object, and yes that part works locking the movement away into a Smart Layer which itself is not animated. So it is a good first step.
    Unfortuately Tilt Shift effect (and Field Blur, Iris Blur and Lens Blue) cannot be applied to smart layers.
    Nice try, though!
    I did manage to apply a masked radial blur to a section of the image using your methodology and it seems to recalcualte that blur on a per frame basis.

  • How to place raster images as smart objects?

    I'm trying to duplicate Photoshop's File:Place menu functionality and I'm experiencing something that I can't figure out. (I've added my code to the end of this message.)
    I have a variety of test EPS images that I can run through the File:Place menu. They all appear on the document as "Smart Objects". That is I can then do a bunch of transforms to the image (like rotate, move, deform) before committing to the image to the document.
    The important point here is that some images, when opened by Photoshop, first ask that I "Rasterize EPS Format" while others just open up without comment.
    While doing these File:Place actions, I've been using the Listener plugin that comes with the SDK to generate code dumps of my actions. From these I've then generated my own code for placing images onto a document. I've had to re-arrange the code a bit to work in Objective-C so there's a good chance that I've done something wrong while translating.
    Now if you look at my code you notice a commented out section. If you uncomment those lines then you basically have what I got from the Listener plugin log. But the problem is that this code then doesn't act like the File:Place menu action. It creates a new layer, places the image on the page - but its gone one step too far and the image is no longer a "Smart Object". The image is committed to the layer.
    With a bit of experimenting I commented out the line that you can see commented out in my code. However, this does something odd. For all images you can see Photoshop put up a busy icon for a few seconds showing that it is process, but only images that Photoshop wants to "Rasterize EPS Format" actually appear on the page as Smart Objects. Trying to place the images that Photoshop doesn't rasterize results in nothing appearing.
    That's my problem. If I uncomment that line in my code then all images that I test with appear on the page - but not as Smart Objects. If I comment out the code then only images that Photoshop wants to rasterize appear - but those that do appear then appear as Smart Objects.
    So that's my goal: to place any image onto a document as a Smart Object just like Photoshop's File:Place menu command does. Any ideas where I'm going wrong?
    - (SPErr)photoshopPlayeventPlace:(char *)cPath
    PIActionDescriptor result = NULL;
    Auto_Desc descriptor;
    Auto_Desc offsetDetails;
    SPErr error = kSPNoError;
    Handle aliasValue = NULL;
    FullPathToAlias(cPath, aliasValue);
    do
    error = sPSActionDescriptor->PutAlias(descriptor.get(), keyNull, aliasValue);
    if (error) break;
    // error = sPSActionDescriptor->PutEnumerated(descriptor.get(), keyFreeTransformCenterState, typeQuadCenterState, enumQCSAverage);
    // if (error) break;
    error = sPSActionDescriptor->PutUnitFloat(offsetDetails.get(), keyHorizontal, unitDistance, 0);
    if (error) break;
    error = sPSActionDescriptor->PutUnitFloat(offsetDetails.get(), keyVertical, unitDistance, 0);
    if (error) break;
    error = sPSActionDescriptor->PutObject(descriptor.get(), keyOffset, classOffset, offsetDetails.get());
    if (error) break;
    error = sPSActionControl->Play(&result, eventPlace, descriptor.get(), plugInDialogSilent);
    if (error) break;
    while (false);
    if (result != NULL) sPSActionDescriptor->Free(result);
    if (aliasValue != NULL) sPSHandle->Dispose(aliasValue);
    return error;

    If you want to go with Batch I would recommend creating an Action of more or less these steps:
    • set the resolution to the same as the background image’s
    • change the image from Background Layer to regular Layer if necessary
    • convert it to a Smart Object
    • add a Drop Shadow Layer Style to the image (do not use Global Angle)
    • place the background image (File > Place …)
    • move it behind the image layer
    • Image > Reveal All
    • make Selection from that layer’s transparency (cmd-click its icon in the Layers Panel) and use Image > Crop
    • select and transform the image layer to fit the intended position
    This would naturally work out best if the images had the same size and proportions.
    For the reflection on the floor duplicate the image, flip it vertically, move it in position and reduce its opacity to maybe 10%.
    Realistically you may have to hide it partially behind the pillows, a Vector Mask would be an option.

  • Background Image on a Component

    How do I add a background image to a component, in this case, a scrollpane containing a drawing area. This is for a level editor for my game. I want a level's background image to be drawn and tiled so the user can get a better preview of what the level will really look like. Is there an easy way to do this?

    Do you have a little code-snippet on how to use this
    class? The only things I've ever needed to do in
    graphics is loading, transforming, and drawing images,
    so I'm a bit in the dark on anything outside that.I think something like this will do it. I don't know for sure though since I've never used it:
    private BufferedImage bImage;
    // ... constructors, code blahdy blah, construct the bufferedimage here etc.
    public void paintComponent(Graphics g) {
      // the Rectangle2D in user space used to anchor and replicate the texture:
      Rectangle2D anchor = new Rectangle2D.Double(0,0,20,20);
      // the actual paint object:
      TexturePaint tpaint = new TexturePaint(bImage, anchor);
      Graphics2D g2d = (Graphics2D) g;
      g2d.setPaint(tpaint);
      // g2d.fillRect(0,0,getWidth(), getHeight());
    }

  • Problem with photoshop automatically resizing placed images

    Hi,
    I have PS6. I have images that are 144x100 px. When I use file>place ps resizes the image to 108x75. I can't figure out how to make ps quit resizing my pictures. Anybody know?
    Thanks

    When Pasting, Dragging, copying and placing an image Photoshop will copy all of the image being duplicated original pixels to preserve the image pixel quality the image quality.  If the receiving document has a different DPI resolution the image may look a different size in the  receiving documents because of the number of pixels added to the document that has a lower or higher dpi resolution.  If the image is being placed in if the image pixels exceeds the receiving documents canvas size. Photoshop may scale the smart object layer to fit within the canvas that depends on the users Photoshop's preference.  All of the images original pixels are still there in the embedded object.   In my Photoshop Collage Scripts  I always transform all placed images to 100% size  incase Photoshop scaled the placed image.  For you can not get the scale percent Photoshop used.  Once I know I have the image at 100% size I can use the layer bounds to get the actual number of pixels there are in the placed image.  Once I know that I can calculate the scale I need to use to resize the image to fit the area being populated in the collage template.   Once resized I center it into place and mask off any excess image pixels.

Maybe you are looking for

  • Data not viewable in table using Control file  CharacterSet AL32UTF8

    i have a flat file which contains Chinese characters and English Characters I have to create a control file, to insert the data in this flat file to the Table The characterset i am using in my control file is AL32UTF8 When i use this characterset the

  • Can't re-install Bluetooth on Windows vista 64 bit - Satellite A305

    I am having a problem with my bluetooth on my new Toshiba A305-S6843 machine. It is running Vista 64-bit version. Previously, the machine had version 6.10.02T Build 20080128 on it, but the bluetooth radio would not enable. The device was recognized i

  • Help asap! rwserver install in 10.1.2

    hye! i'm using developer suite 10.1.2. and database 10.1.2, owb last version (i think it's release 1) in forms...on a TLIST...i have 4 items: -export to pdf message('1'); -export to excel message('2'); -export to xml message('3'); -export to... messa

  • Envelope jam CP1518 network printer

    Trying to print a standard envelope from Word and the envelope keeps 'jamming' but it is not jammed, it's just sitting in the paper path under the ink cartridges. Is there a fix for this? Thanks, Bill in Ottawa

  • Mac book pro turned off by itself

    Hi, my mac book pro turned off by itself when I try to open iphoto or VLC and it restart  automatically. OSX Mountain Lion 10.8.5