How could I plot 2D images or arrays serie to 3D object in LabVIEW?

Hello, everybody.
I would like to ask you guys about plotting 2D images or arrays series into a 3D graph or object or any possible.
If I have serie of 2D arrays (It's 3D). For example, the 3D array contains 500 (z) x [ 500 x 500 (x and y)].
Could anyone tell me the possible way to do this problem?
Thank you very much .....
Racha

Hi rachacha
I have been investigating about your question and I realized that we have a document with one example that it use different 2D picture for building a 3D object. I belief it will be useful for you.
->>  https://decibel.ni.com/content/docs/DOC-4765
 

Similar Messages

  • How could I arrange control images in a report?

    I appended 4 control images to a report using Append Control Image to Report. I wanted to lay two of these images in the first line and the other two in the second line. But the result of my program was one image in one line. (BTW, I did not use any New Report Line). How could I arrange control images?

    Mike is right, unless the images are too wide, the report VIs will put them next to each other on the same line.
    Please find the attached example that appends two charts on the HTML report. Open the .htm file with the web browser. If you make the browser window smaller, the charts will move one below the other.
    Zvezdana S.
    Attachments:
    image.zip ‏13 KB

  • How could I display an image a day/week?

    Hi guys, I'm a cartoonist and mid level webdesigner. I'm trying to put together an app version of a folio/comics website. I wanted to know what my options are for putting in a new featured image per day/week. And what are my best options for delivering this type of content. Forcing them to update the latest version of the image isn't going to work very well.
    The three options as I see it, and might not be the best ones, are:
    1. Single edition app, html points at website to show updated index page with image.
    2. Multi edition app, push notification when download of new image is available.
    3. Embed all the images into a single edition version of the app, but only allow the user to see the latest image on specific calendar dates.
    What are my other options and how would I implement them for iOS?
    The only other feature I wanted was to be able to point or link people back to my webstore if they wanted to purchase prints of the image they are viewing.
    I would really appreciate all the help I can get.

    Option #1 is the way to go, and the way customers do this in DPS. A good example is National Geographic that does rich, updating, pages with photos in their monthly issues using the web overlay to point to HTML somewhere. It's the easiest way to do it.
    If you intend to submit this to Apple, a word of warning: if all your Single Edition app does is host a web control that renders your web page they are likely going to reject the app. You have to have real, rich, interactivity in the application and lots of content to navigate through as part of the app.
    Neil

  • How could I copy an image under labview and to stick it right A side of old

    copying shapes and stick them x times after knowing that one will differemment modify the color of each shape, I have Imaq Vision Builder

    I'm not sure I understand what you are trying to achieve. Will you please clarify the question? Also, what version of LabVIEW and Vision Builder are you using?

  • How can I use an image from an ip address for use in labview as image data?

    I want to use a stand-alone webcam on ethernet as the source for imaging control.

    Greg,
    Lots of possibilities here, depending on what your Webcam software serves up and how flexible you need to be with image types and whatnot.
    Assuming the Webcam server provides raw JPG images that you can get at with a simple URL, one way to go is to use DataSocket, using a little trick where you append "[txt]" to the end of the URL and get the raw content back. I've attached an example that grabs a JPG from the NI site and displays it.
    Best Regards,
    John Lum
    National Instruments
    Attachments:
    JPG_to_picture.vi ‏50 KB

  • How do I expand my images after using a cover flow object?

    Let me explain: I used nine images to group them under cover flow (object) and it looks nice on Ibooks Author, but now I want to tap to expand each image as they float and swipe back to revert to initial size.

    In short, you'll want to hook into the interaction events fired by the Cover Flow object when manipulated by the user.
    Each interaction fires an event. To see the possible events, select the Cover Flow and click the code button and you'll see the events you can intercept in the "Add Event Handler" drop-down menu including:
    Did Tap Front Cell
    Did Select Cell
    Did Focus Cell
    Did Begin Swipe
    Did End Swipe
    Showing a zoomed version of the center (focused) cell will vary based on how you want to present the focused content. 
    If you want to zoom the focused cell full screen, you can have an offscreen Image View object that you'll display when the appropriate event is triggered and set the image property of the Image View to that same image in the focused Cover Flow cell.
    You'll then add a interaction for the zoomed Image View that hides the view when tapped to reveal the Cover Flow for further selection.
    Bunch of different ways to do this.  Check out the Photo Gallery page in the Space Tours To Mars sample in the iAd Examples folder available for download where you downloaded iAd Producer.
    Cheers,
    -Mark

  • How to place a transparent image on top of a panned object?

    1) I have a group of image pasted inside a frame.
    2) I applied a "Pan Only" to that frame.
    3) I placed two gradient shapes ON TOP of this frame; one on the left side of the frame, and the other to the right.
    4) When I preview the page, the frame jumps to the top of both gradient shapes, which is not what I want.
    What am I doing wrong?
    Thanks!

    It’s called an overlay for a reason.
    Those gradients have to be turned into MSOs and placed above the pan only object.
    There are details on how to do that in several areas of the forum.
    I don’t have time right now for full details but if nobody has posted them by the morning I’ll pop back in.
    Bob

  • Please tell me how I can set an array field to an object?

    Hi,
    Please tell me how I can set the plID (an array field) to an object? This result is for one Agent object. Suppose the Agent object only has these two fields.
    If a sql query result is something like this (which is one object).
    agent_last PLID
    smith      5
    smith               6
    smith               7
    Agent agent = new Agent();
    StringBuffer sql = new StringBuffer();
    int count = getPLNo(agentID);// # of the query result
    try {
    SQL tsql = new SQL();
    Connection conn = tsql.getConnection();
    sql.append("SELECT agent_last, b.PLID ");
    sql.append("FROM Agent a, PL b ");
    sql.append("where a.agent_id = b.agent_id ");
    sql.append("and a.agent_id = ? ");
    PreparedStatement st = conn.prepareStatement(sql.toString());
    st.setInt(1, agentID);
    ResultSet rs = st.executeQuery();
    while (rs.next()) {
    agent.setAgentID(agentID);
    agent.setAgentLast(rs.getString(1));
    for ( int i = 0 ; i < count; i++ ) {               //how to do it?
    agent.setPrivateLabelID(new int[] {rs.getInt(2)});//how to do it?
    st.close();
    rs.close();
    tsql.close();
    } catch (SQLException e) {
    System.out.println("SQL: " + e.getMessage());
    throw new Exception(e.getMessage());
    } catch (Exception e) {
    System.out.println("Except: " + e.getMessage());
    throw new Exception(e.getMessage());
    return agent;
    }

    If that's not what you're looking for, then you get
    what you pay for. :-)Hi fmeyer75,
    Thank you very much for your input. That's exactly what I was looking for and it works!!!!
    For anyone who has similar issue, I changed the code a little to make it work with my existing ones. I never splited queries before, so please tell me if there's a better way to handle it.
    I keep the first half part and changed a little for the second half. Below is what I use now
    sql.setLength(0);
    sql.append("SELECT PLID ");
    sql.append("FROM PL ");
    sql.append("where agent_id = ? ");
    List list = new ArrayList();
    PreparedStatement st2 = conn.prepareStatement(sql.toString());
    st2.setInt(1, agentID);
    ResultSet rs2 = st2.executeQuery();
    while (rs2.next()) {
                 list.add(new Integer(rs2.getInt(1)));
    agent.setPrivateLabelID(new int[list.size()]) ;
    for ( int i = 0 ; i < list.size(); i++ ) {
    agent.getPrivateLabelID() = ((Integer)
    list.get(i)).intValue() ;
    st.close();
    rs.close();
    st2.close();
    rs2.close();

  • How to get a string or byte array representation of an Image/BufferedImage?

    I have a java.awt.Image object that I want to transfer to a server application (.NET) through a http post request.
    To do that I would like to encode the Image to jpeg format and convert it to a string or byte array to be able to send it in a way that the receiver application (.NET) could handle. So, I've tried to do like this.
    private void send(Image image) {
        int width = image.getWidth(null);
        int height = image.getHeight(null);
        try {
            BufferedImage buffImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
            ImageIcon imageIcon = new ImageIcon(image);
            ImageObserver observer = imageIcon.getImageObserver();
            buffImage.getGraphics().setColor(new Color(255, 255, 255));
            buffImage.getGraphics().fillRect(0, 0, width, height);
            buffImage.getGraphics().drawImage(imageIcon.getImage(), 0, 0, observer);
            ByteArrayOutputStream stream = new ByteArrayOutputStream();
            JPEGImageEncoder jpeg = JPEGCodec.createJPEGEncoder(stream);
            jpeg.encode(buffImage);
            URL url = new URL(/* my url... */);
            URLConnection connection = url.openConnection();
            String boundary = "--------" + Long.toHexString(System.currentTimeMillis());
            connection.setRequestProperty("method", "POST");
            connection.setRequestProperty("Content-Type", "multipart/form-data; boundary=" + boundary);
            String output = "--" + boundary + "\r\n"
                          + "Content-Disposition: form-data; name=\"myImage\"; filename=\"myFilename.jpg\"\r\n"
                          + "Content-Type: image/jpeg\r\n"
                          + "Content-Transfer-Encoding: base64\r\n\r\n"
                          + new String(stream.toByteArray())
                          + "\r\n--" + boundary + "--\r\n";
            connection.setDoOutput(true);
            connection.getOutputStream().write(output.getBytes());
            connection.connect();
        } catch {
    }This code works, but the image I get when I save it from the receiver application is distorted. The width and height is correct, but the content and colors are really weird. I tried to set different image types (first line inside the try-block), and this gave me different distorsions, but no image type gave me the correct image.
    Maybe I should say that I can display the original Image object on screen correctly.
    I also realized that the Image object is an instance of BufferedImage, so I thought I could skip the first six lines inside the try-block, but that doesn't help. This way I don't have to set the image type in the constructor, but the result still is color distorted.
    Any ideas on how to get from an Image/BufferedImage to a string or byte array representation of the image in jpeg format?

    Here you go:
      private static void send(BufferedImage image) throws Exception
        ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
        ImageIO.write(image, "jpeg", byteArrayOutputStream);
        byte[] imageByteArray = byteArrayOutputStream.toByteArray();
        URL url = new URL("http://<host>:<port>");
        HttpURLConnection connection = (HttpURLConnection) url.openConnection();
        connection.setDoOutput(true);
        connection.setRequestMethod("POST");
        OutputStream outputStream = connection.getOutputStream();
        outputStream.write(imageByteArray, 0, imageByteArray.length);
        outputStream.close();
        connection.connect();
        // alternative to connect is to get & close the input stream
        // connection.getInputStream().close();
      }

  • How to load and display a byte array (jpeg) image file dynamically in Flex?

    My web service client (servlet) received a binary jpeg data from an Image Server. The Flex application invokes the
    servlet via HttpService and receives the binary jpeg data as byte array.  How could it be displayed dynamically
    without writing the byte array to a jpeg file?  Please help (some sample code is very much appreciated).

    JPEGEncoder is only useful for converting BitmapData to ByteArray, not the other way around.
    By the way JPEGEncoder and PNGEncoder are part of the Flex SDK now, so no need to use AS3Lib (alltough it's a good library to have around).
    To display/use a ByteArray as image, use a Loader instance with the loadBytes method.
        Loader.loadBytes(bytes:ByteArray, context:LoaderContext = null);
    Listen for the complete event on the Loader.contentLoaderInfo and get the BitmapData in the event handler.
    private function loadJpeg():void {
        var loader:Loader = new Loader();
        loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleteHandler);
        //jpgBA is the ByteArray loaded from webservice
        loader.loadBytes(jpgBA);
    private function loaderCompleteHandler(evt:Event):void {
        var t:LoaderInfo = evt.currentTarget as LoaderInfo;
        // display the jpeg in an Image component
        img.source = t.content;
    <mx:Image id="img" scaleContent="false" />

  • Using the value "Image/*" for the accept attribute of the HTML input Element, how can I add .pdf to the array of preconfigured file types (.jpe, .jpg, .jpeg, .?

    On a form, using the value "image/*" for the accept attribute of the HTML input Element, how can I add .pdf to the array of pre-configured file types (.jpe, .jpg, .jpeg, .gif, .png, .bmp, .ico, .svg, .svgz, .tif, .tiff, .ai, .drw, .pct, .psp, .xcf, .psd, .raw)?
    Say I wanted to add .gif, .jfif or .ico. I find this array limited, how can I add types to image?
    <input type="file" name="file" accept="image/*" id="file" />
    mimeTypes.rdf does not seem to allow this.

    ''mimeTypes.rdf'' has nothing to do with web development. It's a file that stores your file handling preferences (e.g. if you want ZIP files automatically saved or opened).
    You can't change the file types of the pre-defined content specifiers (audio/*, video/*, image/*), but you can specify additional MIME types. To add PDF to your above example,
    <pre><nowiki><input type="file" name="file" accept="image/*,application/pdf" id="file" /></nowiki></pre>
    For details, see
    * [https://developer.mozilla.org/En/HTML/Element/Input developer.mozilla.org/En/HTML/Element/Input]

  • I created an image in Photoshop and saved it as the PSD file. Now when I try and open it it says it is not compatible with my version. How could this be when I created it in this version?

    I created an image in Photoshop and saved it as the PSD file. Now when I try and open it it says it is not compatible with my version. How could this be when I created it in this version?

    That depends on why it won't open.  Most of the time it means the file is corrupted and unlikely to be recovered. If you saved it right after adding or copying a LOT of layers - then it might just be the layer limit and we can attempt to recover it.

  • How do i covert an image in J2ME into an byte array ?

    Can anyone help to show me the way to convert an image into a byte array ?
    Thanks early reply appreciated.

    Hi! I�m developing an application to be installed in two devices. My problem is that i want to send an image: I can receive it with createImage(InputStream ip), but how can i send it with OutputStream? it needs a byte array (method write), how can i convert an image into a byte array?is there any other solution? like send it as a string...
    Thanks

  • I have my photos  iPhoto but my iPhoto library is empty. when clicked message reads could not be opened image capture cannot open files in the photo library format. How do I get my photos back into my library?

    I have my photos in  iPhoto but my iPhoto library is empty.When clicked message reads could not be opened image capture cannot open files in the photo library format. How do I get my photos back into my library?

    When what is clicked?
    There are 9 different versions of iPhoto and they run on 9 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • How do i convert an image object to a byte array ?

    Hi
    how do i convert an image object into a byte array
    early reply apperciated

    Oh sorry my method and the other method need to have the pixels from the Image passed to them which you get my using pixelgrabber:
    //create width and height variables from image
              int w = img.getWidth(this);
              int h = img.getHeight(this);
              //retrive picture from image
              int[] pix = new int[w * h];
              PixelGrabber pg = new PixelGrabber(img, 0, 0, w, h, pix, 0, w);
              try{ pg.grabPixels();
              } catch (InterruptedException ioe) {
                   System.err.println("Interrupted");
              if ((pg.getStatus() & ImageObserver.ABORT) != 0) {
              System.err.println("image fetch aborted or errored");
              }

Maybe you are looking for

  • How can I conect a male and female image to a next button but so they both lead to different pages?

    I am trying to create a drag and drop game using Adobe Flash, AS3. I have a 'select gender' page where I have both a male a female model. I want users to be able to select either the male or female image but then a next button in order to take to the

  • Micro-DVI Adapter question

    I just bought a new MacBook with a Micro-DVI port. I still have several Mini-DVI adapter cables from my previous MacBook. Is there a Micro-DVI to Mini-DVI adapter so that I can buy just one adapter instead of replacing the 4 adapter cables I already

  • Unzipping not Unzipping

    I have tried several times to unzip some movie files, it seems that my system is intent on telling me that it can't do it due to 'Error - 1' Sure the files can't be too big? But it happily unzips smaller files. Any ideas???? Thanks Matthew

  • Now I have two accounts?

    My original account name or alias is sicjoy. I changed the password and now have this sicjoy10 alias and what seems to be another account; how can I get back to my old sicjoy account? Thank you in advance.

  • SMD registration in SLD

    Hello all, Could some one help me with SMD registraion in central SLD I added my agent to http://host:port/sld >technical system> type as standalone. still during my diagnostic self check, I get msg, register SMD to SLD. Regards, Shyam.