How can I use or convert a imaq image to plot images back on waveform graph

Hi
I am currently opening and manipulating (rotate and resize) a PNG image using IMAQ Vision in LabView 8.2.1 This works well and I can display the Image on the front panel using a IMAQ Image Control.
In addition to this I would now like to display the image as a background on waveformgraph. I can do this with the original PNG file by reading it and then flatten it to a pixmap ie make it a Picture but this is of little use as I need to use the manipulated IMAQ image.
Therefor I would like to know how to convert the manipulted IMAQ Image to right Picture Format (without resaving) in order to use it on the PlotImages.Back property node of a wavefrom graph.
I very much welcome your suggestions as I feel it should be easy yet can not seem to solve it. Thank you for your time!!!

Hi Randall
Apologies for replying somewhat late but I have been out of the office for a few days.
Your suggestions and code helped me greatly and led to solving my query so thank you for that.
There is one more thing (well many many more but I will place new posts for those  however that you might be able to answer for me.
Following your suggestion to use the image to array function I searched through more examples and found the code that did exactly what I wanted to do. Please see attached.
In this code a For loop is used to add 65793 to the color table. It works very well but I do not know why it is used exactly. Can you exlplain? I also realize I never made it clear that I use grayscale PNG files rather then color images.
Thanks again for your excellent help, it is much appreciated.
Attachments:
IMAQ_8-bit_to_picture v1.vi ‏15 KB
Test Image.png ‏42 KB

Similar Messages

  • How can I use the print module to print different size images on one large "canvas"?

    How can I use the print module to print different size images on one large "canvas"? An example would be in Photoshop, go to file>new, and create the size paper I want, and move images of different sizes onto it.
    I was thinking the print module would do this automatically for me.

    You can't, at present. It's been a requested feature, so we'll see if it shows up in a future version, but it's not there at present.

  • How can i use Canny algorithm in imaq

    hi
    is there Canny algorithm in imaq vision?
    i need it in iris project
    thanx

    Yes, IMAQ Vision can implement the Canny algorithm using the IMAQ CannyEdgeDetection.vi which is part of the Vision Development Module
    The Vision Concepts Manual (pg 5-12 and 5-13) describes this a little bit - and also describes other algorithms available.
    http://digital.ni.com/manuals.nsf/websearch/34548B​DDD48DF68B86256F81005B94F8

  • How can I use the Webkit Webinspector in safari 6 or go back to previous Safari

    Since safari 6 Developing is not fun anymore using the webinspector because the search for strings in my scripts is terrible terrible terribe slow on some big scripts it can take 30-40 seconds before it finds any string. Where firebug on firefox or the webkit inspector on googlechrome find the string in some milliseconds. Also the searchbox is default hidden and y need to know the shortcut to display the searchbox for searching in scripts because the searchbox initially shown is not for searching in scripts.
    Also other always used interactions needs more clicks like selecting a node in the document, I first have to click the correct small icon on the left then search for the correct resource and then select on the right side of the interface the pointer icon.
    Oh I can go back to the old wbinspector I see in the Develop menu ....but that is only a menu item and shows a dummy webinspector that doesn't do anything anymore.
    Also restoring to previous saved version of safari is not working anymore. And I cannot see any answer on the post how to restore my old safari version.

    Yes, I could move my hand from the mouse to keyboard to use a key combo... I could even use the delete key... but it's not really as effient as using the mouse's scrollwheel. Not that it's really all that bad, since Firefox is a great browser, but am I stuck with it if I want that one solitary additional feature?

  • I need use the line data(basle​r spl2048 camera,NI1​433 board) to perform FFT transform ,how can i use transforme​d data to construct an image

    hello everyone! as what i haved mentioned in the title.In optical coherence tomography system ,i need to perform for every line data whick accquired by NI1433,how can i use
    the transformed data tto construct an depth image .

    This is no longer my main area of expertise, but here is results of brief search:
    Spectral Domain Optical Coherence Tomography System Design: sensitivity fall-off and processing speed enhancement
    look at Chapter 5
    https://circle.ubc.ca/bitstream/id/91474/ubc_2010_​fall_chan_kenny.pdf
    Ultrahigh-resolution, high-speed, Fourier
    domain optical coherence tomography and
    methods for dispersion compensation
    http://www.opticsinfobase.org/oe/abstract.cfm?uri=​OE-12-11-2404
    hope this helps,
    Curt
    Curt Corum, Ph.D.
    Center for Magnetic Resonance Research
    University of Minnesota

  • How can I use pdf pack to convert cubase documents  (music scores)  into pdfs? I am looking for the former possibility to install acrobat like a printer but i don't have this option with "pdf pack". Can you help?

    How can I use pdf pack to convert cubase documents  (music scores)  into pdfs? I am looking for the former possibility to install acrobat like a printer but i don't have this option with "pdf pack". Can you help?

    Hi mariab,
    What format are those music scores (I'm not familiar with cubase documents). But, it may be that Adobe PDF Pack doesn't support that format. In that case, Acrobat is the way to go. You can then print your files to PDF as you'd like. You're welcome to try Acrobat for free for 30 days to see whether it's going to work for you. If you decide it is, and you'd like to use it going forward, you could convert your PDF Pack subscription into an Acrobat subscription.
    Best,
    Sara

  • I have an itunes account in Euro. I received iTunes and AppStore Gift Cards in $US. How can I use these on the same iWhatever?

    I have an itunes account in Euro. I received iTunes and AppStore Gift Cards in $US. How can I use these on the same iWhatever and keep together music/apps bought in the 2 currencies?
    Thx

    Barbara Hunt wrote:
    Would it be possible for me to download iTunes in Parallels and get the files into that and then onto my iPod?
    Yes, you can download iTunes for Windows using Parallels. If planning on making purchases here and/or authorizing already purchased tracks (from your Mac iTunes library), you are permitted to authorize five (5) computers as per iTunes Store terms of use, regardless of computing platform. No need to create a separate new iTunes Store account.
    However, judging from what you would like to do, your best bet would be to convert the WMAs to AAC/MP3 in iTunes-Windows (iTunes-Mac cannot import WMA files), and drag the files from the Parallels window to your desktop to add to the iTunes-Mac library. (as the iPod itself is currently linked to your iTunes-Mac library)
    Hope this helps,
    Steve

  • How can I use After Effects filters on a whole sequence without getting stuck in After Effects?

    It appears that, with the options that are visible to the user, Dynamic Link only goes one-way and can't make round trips from Premiere Pro to After Effects and back again.  If I send a sequence to After Effects, that part works fine and I can do what I want and save the comp.  However, even though the comp appears as an asset in Premiere Pro, I am not allowed to do anything with it.  If I try to drag it to a new sequence, it just says no.  If I click "Create Sequence from Clip" it creates an empty sequence.
    So how can I use After Effects on whole sequences/tracks instead of just on a clip-by-clip-by-clip-by-clip-by-clip basis?  is this possible?  For instance, if I have a whole sequence where I've neutralized the white balance, I might want to apply a warming filter to the whole thing as a unit.  That would be really painful with even a few clips to keep doing that again and again, and if you want to modify it slightly you have to do it over and over.  If there is a way to do that through Dynamic Link through some hidden option, what happens with the audio?  Would I have to cut it out of the lower sequence and paste it into the higher sequence with the After Effects comp as a video track?

    I'm not an Adoby guy, hence you may ignore my reply, but Adobe Dynamic Link is obviously not just one way ticket and in most cases works just fine.
    You have already been explained by J-MS and tclark513 how to properly use it and which pitfalls may occur.
    So as to apply an effect onto a whole sequence or a group of clips you need to either nest them in PrPro or pre-compose them in AE. Then just apply an effect (or several ones) onto that composition.
    So, if you nest clips in PrPro, select your nested sequence in the timeline, right-click and choose 'Replace with After Effects Composition'. Done! Your dynamically linked AE composition is in the right place in your timeline and in your Project panel as well. If you can not treat it as an ordinary footage, there are obviously some mistakes in your workflow. 
    If you didn't nest your sequence or a group of clips in PrPro before replacing them with AE composition, you may easily do it within AE. Just select all the layers in AE composition and choose Layer -> Pre-compose... (Ctrl/Cmd+Shift+C) Done! Switch back to your Master comp and apply your desired effect(s) 
    You may loose some effects or/and transitions while travelling from PrPro to AE via Adobe Dynamic Link, whereas you don't while travelling back
    (If you start building your AE composition from scratch right in AE and then need to import it into PrPro, DO NOT export one as PrPro project out of AE, but rather choose Adobe Dynamic Link -> Import After Effects Composition... within PrPro)
    P.S. And yes, submit a feature-request so that Adobe will convert 'Transparent Video' into fully functional 'Adjustment Layer'.

  • How can i use Order by inside a sub query in Oracle

    Hi!,
    Please help me, it's an urgent... how can i use Order by clause
    SELECT SalesProductKeyID,ActualUnitPrice,BillDateKeyID,ProductKeyID
    ,Qty,Profit,DD.dDate
    , (SELECT nvl(S.Qty,0) FROM Stock S , DateDimension DD1
    WHERE S.DateKeyID = DD1.DateKeyID AND
    S.ProductKeyID = SF.ProductKeyID AND
    DD1.dDate <= DD.dDate and rownum=1
    ORDER BY DD1.dDate DESC*) as StockQty
    , (SELECT nvl(SUM(Qty),0) from salesfact SF2,DATEDIMENSION DD2
    WHERE SF2.BillDateKeyID=DD2.DatekeyID AND SF2.ProductKeyID=SF.ProductKeyid
    AND DD2.dDate > DD.dDate
    AND DD2.dDATE=DD.dDate
    ) as TotalQtySold
    FROM SalesFact SF INNER JOIN DATEDIMENSION DD
    ON SF.billdatekeyid =DD.Datekeyid
    WHERE
    IsProfitCalculated = 1 AND
    IsSalesFactSuppPopulated =0 AND
    Qty > 0;
    kindly help
    Thank you.

    Actually I'm converting Procedures from SQL Server to Oracle.
    Actual Stored Procedure in SQL Server is as follows.
    SELECT --top 10000 
    SalesProductKeyID,ActualUnitPrice,BillDateKeyID,ProductKeyID
    ,Qty,Profit,DD.Date
    , (SELECT TOP 1 ISNULL(S.Qty,0) FROM dbo.Stock S , dbo.DateDimension DD1
    WHERE S.DateKeyID = DD1.DateKeyID AND
    S.ProductKeyID = SF.ProductKeyID AND
    DD1.Date <= DD.Date
    ORDER BY DD1.Date DESC) as StockQty
    , (SELECT ISNULL(SUM(Qty),0) from salesfact SF2,DATEDIMENSION DD2
    WHERE SF2.BillDateKeyID=DD2.DatekeyID AND SF2.ProductKeyID=SF.ProductKeyid
    AND DD2.Date > DD.Date
    AND DD2.DATE=DD.Date
    ) as TotalQtySold
    --INTO TEMP_Salesfact          
    FROM dbo.SalesFact SF INNER JOIN DATEDIMENSION DD
    ON SF.billdatekeyid =DD.Datekeyid
    WHERE
    IsProfitCalculated = 1 AND
    IsSalesFactSuppPopulated =0 AND
    Qty > 0

  • How can i use a number as ringtone

    i have bought several songs and even cd's in the itunes store, but how can i use any of those songs as a ringtone?
    do i have to buy the songs again but then as ringtone?
    or how can i use my own music as a ringtone?
    never had this problem with other phone from samsung or htc

    You can use your own music as a ringtone. There are many sites that have instructions on how to do it. Here's one:
    http://osxdaily.com/2010/09/04/make-free-iphone-ringtones-in-itunes-10/
    There are also some apps in the App Store that will let you convert songs. You'll still need to use iTunes to sync the ringtones back to your phone.
    If you have a Mac computer and Garageband, it's the easiest way to make ringtones on your computer. Just check the help files.

  • How can i use  27" Thunderbolt to VGA moniter

    Hi.
    I have Mac mini late 2012 i7 and 27" thunderbolt display.
    How can i use 27" thunderbolt display through vga moniter.
    I use mac mini-->27" Thunderbolt -->mini DP to VGA adapter --> VGA moniter.
    I used before 27"iMac --> Mini DP to VGA adapter -->VGA moniter.
    It was perpect works.

    A Mini DisplayPort display or adapter won't work plugged directly into a Thunderbolt display.  It will work if you connect a Thunderbolt disk drive (with two Thunderbolt ports) between the Thunderbolt display and the Mini DisplayPort device,
    You could try using the Mac Mini's HDMI port with a VGA adapter
    <http://ca.startech.com/AV/Converters/Video/HDMI-to-VGA-Adapter-Converter-for-Des ktop-PC-Laptop-Ultrabook-1920x1080~HD2VGAE>
    Make sure you can get a refund if it doesn't work.  Some Mac HDMI ports may not provide enough power for some VGA adapters.

  • How can i use JS files in ADF for language translation.

    Hi,
    I have JS for different languages and dn't want to convert them to property files(resource bundle files). How can i use JS files in ADF for language translation.
    Thanks

    Hi ILya Cyclone,
    Thanks alotfor the reply. Can you tell me where should i include this in the jspx page.
    Step 1)
    I have the js file as js/ifl_messages_US.js and i created a resource file as you mentioned: JS_FILE_PATH=js/ifl_messages_US.js
    Step 2)
    Then added the entry in faces-config.xml for the resource file as follow:
    <resource-bundle>
    <base-name>resource_en.properties</base-name>
    <var>resource</var>
    </resource-bundle>
    <locale-config>
    <supported-locale>en</supported-locale>
    </locale-config>
    Step 3) This is my jspx page. In which a table is dynamically created on page load. Can you help me where should i enter the "#{resource.JS_FILE_PATH}"
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:resource type="javascript" source="/js/pdfFile.js"/>
    <af:form id="f1">
    <input type="hidden" name="checkRadio" id="checkRadio" value=""/>
    <af:panelGroupLayout id="pgl1" halign="left" layout="vertical">
    <af:image source="/images/BRAND_IMAGE.gif" id="i1"/>
    </af:panelGroupLayout>
    <af:spacer width="10" height="10" id="s1"/>
    <af:table varStatus="rowStat" summary="table"
    value="#{backingBeanScope.DummyBean.collectionModel}"
    rows="#{backingBeanScope.DummyBean.collectionModel.rowCount}"
    rowSelection="none" contentDelivery="immediate" var="row"
    rendered="true" id="t1" styleClass="AFStretchWidth"
    binding="#{backingBeanScope.DummyBean.myTableBinding}"
    columnResizing="disabled">
    <af:column id="c2" headerText="Actions">
    <af:activeOutputText value="#{row.Actions}" id="aot2"/>
    <af:goLink text="#{row.Actions}" id="gl1"
    clientComponent="true" visible="false"/>
    <af:selectBooleanRadio text="" id="sbr1"
    valueChangeListener="#{backingBeanScope.DummyBean.checkselectbox}">
    <af:clientListener method="selectCheckBox" type="click"/>
    </af:selectBooleanRadio>
    </af:column>
    <af:forEach items="#{backingBeanScope.DummyBean.columnNames}" end="#{backingBeanScope.DummyBean.columnSize}"
    var="name" begin="1">
    <af:column sortable="false" sortProperty="#{name}"
    rowHeader="unstyled" headerText="#{name}"
    inlineStyle="width:100px;" id="c1">
    <af:activeOutputText value="#{row[name]}" id="aot1" escape="false">
    </af:activeOutputText>
    <!-- <af:outputFormatted value="#{row[name]}" id="of1"/>-->
    <!--<af:goLink text="goLink 1" id="gl1"
    destination="#{row.bindings.url.inputvalue}"/>-->
    </af:column>
    </af:forEach>
    </af:table>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Thanks in advance

  • How can i use PCIe 1433 and basler line camera to construct image and pocess it?

    hello! every one ,I am new to machine vision.i have two problems to ask.First,how can i use line camera and 1433 to acquire 2-D image?second,if i want to pocess the 1-D signal ,how can i do it ?i expect for your answer ,thank you!

    What you are trying to do is not something you can easily do in a forum, but I can give you the basics.
    You have a CameraLink frame Grabber (PCIe 1433) and a LineScan Camera
    The framegrabber needs to be configured to understand how to communicate with the camera.  You need a file from the camera vendor.  This file might already be installed.  You can use MAX to check if it is, under Devices/IMAQ.
    Assuming you can get to the point where you can communicate with the camera, you need to configure your acquisition.
    Since the camera is a line scan camera, it captures image data one pixel ine at a time.  You will need to configure the frame grabber to determine how many lines per image you want.  The low limit is usually 1, and the high limit is either based on the framegrabber's internal memory, or that of the computer.
    If you are using labview, you will need to open a sessing to the camera, acquire the image(s), and then close the session when you are done.
    Once the image(s) are captured, you can performa analysis using the NI Vision Toolkit.
    Sorry, but there is no way to condense years into one post.
    Machine Vision, Robotics, Embedded Systems, Surveillance
    www.movimed.com - Custom Imaging Solutions

  • How can i use Nikon D 7100 and Panasonic Lumix DMC-LF1 with Photoshop CS 5 Camera Raw?

    How can i use Nikon D 7100 and Panasonic Lumix DMC-LF1 with Photoshop CS 5 Camera Raw?

    The one needs 7.4 (or better), the other 8.1, so Photoshop CS5 with ACR6 is not up to the task.
    The free DNG Converter could be used to convert the RAW images to DNG which your version of ACR should be able to process.

  • How can I use phonetic fonts for cursors name

    Hi all!
    I need to use phonetic characters in cursors names. Does somebody know wich font I have to use for this ?
    One other problem is that I need to use Vietnamese characters at the same time. Is it possible to change the font of the cursors names run-time (in the diagram)?
    Last quetion: Does LabVIEW support unicode? If yes,how can I use it?
    Thank you for your help!
    Nico

    > Effectively, dual-byte encodind is allright to support Vietnamese and
    > Western languages. But how did I get the phonetics characters? With
    > shortcut key ?
    > As I need the user to change the cursor name run-time without using
    > the frontpannel cursor legend, I'm using property node and a subVI
    > asking for this name. (The user will enter the name in a string
    > control).
    > Moreover I would like the user to have the possibility to choose a
    > character in a pannel (something similar to the menu 'insert symbol'
    > in MS Word). Is it possible to do this ? With Active X maybe, but I
    > don't know which activeX objet I can use....(I am not very familiar
    > with ActiveX).
    Unfortunately, I don't know what the phonetic characters look like, so I
    can't
    tell you what to type to enter them. If you find them in Word,
    you should be able to copy them to the clipboard, they will be in
    Unicode, and paste them into LV -- where they will be converted to dual
    byte. If it doesn't work, try to find out if they are exist in the
    locale of your machine, or more importantly, the target machine.
    If you can display them, you can build a simple ring with short strings
    containing the phonetic characters. When the user picks something from
    the ring, use the strings property and value to index out the string and
    replace/append to the string the user is editing. You will want to pay
    attention to the string's selection if this is supposed to act like a
    character palette and either do an insert or replace.
    If you want a more compact grid menu, you will need to convert the
    strings to images and paste them in a pict menu. That value can be used
    to index a constant array that matches the order in the pict ring.
    Greg McKaskle

Maybe you are looking for

  • Caller ID not working on iPhone 4S

    Just got an iPhone 4S today. Also switched from AT&T to Verizon. For some reason, I am only getting caller ID on contacts that have the country code added to their numbers. I turned off International Assist, and it didn't do anything. When I add the

  • I can't change the pan / zoom duration in Premiere Elements 13

    Ok I'm getting really frustrated especially after I just watched a video tutorial which clearly shows how to do this in Premiere Elements 10 and I have JUST purchased version 13! What I'm not able to adjust is the speed or duration between focus fram

  • Text display issue in SAP script

    Hi All, I have developed a sap script (Invoice) which is having a Footer window. The footer window should display page number and some text (address of company). The address data is stored in an internal table and the same will be made to display in

  • Iphotos freezes ALL THE TIME. Less than 100 hours usage on this new macbook

    I get the little colored spinning wheel when I try to hide a single pic, when I scroll through them with arrow keys, uploading to FB - you name it. Constantly have to force quit - maybe am allowed to do one thing - and then boom, it happens again. Th

  • After upgrade, I lost Norton 360 Toolbar & passwords. How can I restore?

    I have Windows 7 and Norton 360. After I Upgraded Firefox I lost Norton and Google toolbar, both which I use. How can I restore them?