Manipulation of Image data display

Hello

So I'm a first time LabVIEW user and I am struggling with programming graphically the project I have to do...

The type of data, I work with are bitmap images.  Basically, a single image is there (along the y-axis) data and length of wave (along the x axis).  Each successive image shows these data for a certain value of x.  Thus, all images in the folder hold a data cube (x, y, wavelength).

I want to do is create a VI to display these data nicely.  I want to average all wavelength data (which are in rows) to a point given y in a given image (point x) and then make sure the average value of table in a table to index x 2D, y.

I would like for this 2D table correspond to a bitmap "average."  And if you click on a pixel/cell in this table/image (which is formed by an average of all wavelength for each pixel data), then a spectral wavelength data diagram is plotted in a separate chart.  In this way, you see the overall picture, but if you are interested in a certain point you can graphically see the raw data of wavelength after clicking on this point.

For now, I created test data.  I run an Excel Macro to combine all data into a great file.  Each 'image' is three lines and three wavelengths by rank.  In the attached excel file, you see the 9 lines because I put 3 images together one after the other.  The problem is, LabVIEW, I try to create the new 2D array which is the average of image, but I'm not sure how to extract the data in column "means" in this new matrix.  Because each "image is 3 lines long, I need to take the first 3 values in the 4th row in the data table (average values) and do as my 1st column, then take then 3 values in column 4, making the 2nd column, etc..".  The new 2D array should therefore all 7s.

I'd appreciate any help to go on this task, but also a response to the problem, I am currently facing.  If I didn't explain that well, let me know and I will clear up everything that was confusing!

It's generally a bad idea to have data sample degenerate as in this case, where each item is 7. It does not easily check if the correct order and the conversion is achieved. (Also, your second loop is yabba of LabVIEW. )

Try something like the picture shows... (of course the constant diagram must be replaced my calculations based on the size of the input array).

Tags: NI Software

Similar Questions

  • No image is displayed when the file is opened, unless it is moved

    Hello

    I installed Photoshop CS4 x 64 on Windows 7 x 64 (RC) and when I open an image (any image file), it is not displayed in Photoshop. This is a clean install on a new PC. I see the tab (and the window) that photoshop displays for an image, but there is no image inside data. The only way I can see the image is if I drag the tab (turning them into a window), once I drop from the window, the image data are not yet visible. I get the same issue with Photoshop CS4 (x 86).

    Has anyone else seen this before? I updated my video card drivers, and I installed the drivers for my monitors (although I do not believe in the monitor drivers!).

    Any help will be appreciated.

    -em_raza

    Try to disable OpenGL in the preferences.

    Also tell us:

    Amount of RAM installed
    Free hard drive capacity
    Brand and model number of the video card

  • queues the IMAQ image data type

    I'm trying to run multiple queues in the same loop entering IMAQdx images from several cameras, and then save to AVI. After reading the site nor a little, I discovered that the reason why I get only the last image of each bucket, repeated on all frames in the AVI file, is that the IMAQ image data type stores only the memory location for the image, not the image itself data. However, I don't see a better solution for the queues of the actual image data. What conversion could be the fastest / are in charge of the processor the lowest?

    For each image you must initial Image space.

    You can use something like this:

    You need to add initialization camera (s) and AVI. You must add the multicamera feature. Stop recording is missing.

    !!! Don't forget to throw lines and Images!

  • Create a button to erase/reset the data displayed in the graph

    Hello

    I'm new here and to work with labview. I searched the Forum but have not found an answer that would help me (or at least I think I thank)

    I'm working on a project to acquire process an ECG signal with an acquisition of data. In the front panel, I am trying to display 2 graphics, part of the real-time data display and the other showing all the data acquired up to now. I wanted to add a button to this second graph that, when the user wanted, deleted the data shown in the graph, but immediately continued to display the data.

    (trying to make me more clear)

    ' display all the data acquired--> X--> cleans graphic display--> press the button display all acquired data.

    If someone could help, I would be very grateful!

    Thank you very much

    FM

    Hi fred,.

    Open the finder example in LabVIEW and locate the example of 'how clear diagrams & graphics '.

    Pretty easy, don't you think?

  • Train of SVM IMAQ for no Image data

    Hello

    I am fairly new to machine algorithms for learning about Labview so please be patient if my question seems stupid. I was wondering if there is a workaround to use the screw of Machine Vision SVM (e.g. IMAQ SVM Train) for not the image data. I know Machine learning package and I will surely give it a try with those but MV screws are really well organized and allow to record the training in a very elegant manner.

    Indications, suggestions or, well, even a "no, can't it' is really appreciated!

    Moreover, any luck of having the learning algorithm Machine present natively in LV?

    Thank you

    FRAX

    -According to my knowledge IMAQ screws are specifically for the Images.

    -Your best chance is using Machine learning package that you have already found.

  • How to convert an AVI image to a cluster of image data?

    Hello world

    I have previous screw that manipulate images (image data cluster) readen of JPEG files. I would use these screws to analyze individual frames of an AVI file.

    How to connect the image from IMAQ AVI read.vi at the entrance to the photo of the flattened Pixmap.vi draw?

    Thanks for the help,

    Olivier

  • Select the image to display

    Hello

    I have a following problem. I have a VI that displays three images (all have the same size). I can view each image in the selected Image appears of range of Vision. As you can see in the picture below two views of the Image have the same size, and one is bigger.

    What I want to achieve is the ability to choose (using for example the buttons) image that should be displayed on screen. For example, when I press the button "Image1" and then the first image appears on the bigger screen (the other two images are displayed in small poster Image). When I press the button "Image2" then the second image is displayed in the largest screen of the Image and so on... Is it possible to do?


  • For help. DLL file / library call for the USB camera Image data file

    Hello

    I'm new to the use of the library and imaging data files. Attached is a picture of the "call library leader." I don't know how to set up the entry of 'beef' / frame buffer.

    More information is explained in the attached PDF file.

    Basically, I just need to recover data from image and convert it to a real image. I sought help of LabVIEW and other sites files, but I can't find a clear solution. Any help would be appreciated.

    FYI - I can communicate with the camera using other functions of library file. Opens the camera, I can set/view KING and other data. I can't quite understand the frame buffer.

    -griplegraple


  • Image not displayed does not correctly in the image control to the small zoom level

    I display a picture in an image control with a zoom factor of ~0.015 and it is displayed as shown in the picture 1.jpg.  When I Zoom in a little bit more to ~0.016 the image is displayed correctly, as shown in the picture-2.jpg.  The two images are attached.

    Why the image is displayed as a "gray band" in the first picture?  What should I do to have the picture displayed correctly at any zoom factor?  I use LV 2011 with the module for development of vision associated with Windows 7.

    Thank you

    Jonathan-LV


  • Powers on my computer, but no image is displayed on the screen.

    Powers on my computer, but no image is displayed on the screen.

    You forgot to tell us something about your computer. You hear any sound from the computer at all once you turn it on, it? It sounds like the hard drive turning upward? You see absolutely nothing on the screen? Be more descriptive and include information about your computer (computer desk/computer laptop/brand-model), his age, and precisely what happens when you turn on the computer. It is a hardware problem and narrowing of component that failed is not possible without more information from you.

    http://www.elephantboycomputers.com/page2.html#Hardware_Tshoot

    If you can't do the work yourself (and there is no shame in admitting this isn't your cup of tea), take the machine to a professional computer repair shop (not your local equivalent of BigComputerStore/GeekSquad).

    MS - MVP - Elephant Boy computers - don't panic!

  • How can I charge my Sony Image Data on a 64-bit computer

    Have Windows 7 and 64-bit computers and I can't use my Sony drive to load the Image data

    In previous versions of the software Image Data Suite is composed of the Image Data Converter SR, Image Data Lightbox SR. Since version 4, two software have been merged into Image Data Converter, and it is him that you have downloaded and installed from the link I provided above.

    If my post answered your question, please mark it as "accept as a Solution.

  • What can be done so that the screen saver images is displayed in a specific order?

    What can be done so that the screen saver images is displayed in a specific order? (I have about 100 photos in the folder I want to use, but they are always displayed in a random order).

    Hi c. Singman,.

    The random order of the images is by design.  Read the following article about the installer:

    http://www.Microsoft.com/windowsxp/using/Setup/learnmore/tips/Smith1.mspx

    I hope this helps!

  • problem with access to the image data after you have installed latest windows

    Hi, my name s mayur, I got the problem when I open my photos data, actuly I have a computer laptop sony vaio there and I m a photographer so usually I saved my data in my vista drive was slove, so I upgraded mwan Formate c drive and install windows 7 in there then when I cheack my image data in f drive I cant able to see the thuumbs when I open it in the windows image viewer He told me i dnt have the permission to access

    I did this solutions

    I changed my user to administrator - has not worked
    I changed the security settings and gives full control to user - does not work
    I've changed owner ship - does not work, I reinstalled vista - not worked
    I used hodden administrator - has not worked
    I have attached the HDD in the pc of windows genuen - has not worked
    I opened my hard drive under linux and not worked

    I am a hardware engineer also so can someone tell me what will be the reson when I cheak the propertese folder there are a few user (s16561613) with red qustion mark in the authenticated user, my laptop has a genuien windows and now I have installed the windows is not genuine and I dnt have the original windows. so is this problem related to the license... or is the problem of pricing to someone please help me... the security and

    Hello

    There will not be any support for a pirated copy of Windows. I suggest you install a genuine Windows 7 on the computer and test the issue. If you face the same problem let us know so that we can help you further.

    Reference:

    Windows Genuine

    http://Windows.Microsoft.com/en-us/Windows/genuine

  • Image Data Converter for Mac rotation loop

    I have the latest version of Image Data Converter for Mac.  Normally I use Lightroom, but I wanted to try this software because it is designed for Sony raw files.

    The software works pretty well on my Mac Pro 2013, unless there are too many raw files in the directory in which I work, OR, apparently, in the surrounding directories (that is, a library of raw files. organized in folders named after the date  In this case, although the program opens very well (even if it can run for a while at the beginning, no doubt scanning the photos in the folder), attempts to change a raw file quickly causes the program to enter a loop of rotation.  The progress on the operation bar to progress issue (change of saturation, noise reduction, etc.) all the way to the right, then the program hangs forever.  In one case, I waited an hour to see if it would eventually take himself off, but no luck.

    If, on the other hand, I do a new folder outside the hierarchy of photo library, copy all the raw (40 - odd of them) files in the new folder, and then the Image Data Converter point to the new folder, it works very well.

    This is a really special bug.  This means that the software works for people who are only noodling autour, but if someone wants to do a serious blow to a large library of publishing, he can forget it!  This is really not the kind of behavior of Sony would allow.

    Hi mr_protocol,

    Thank you for that bring to our attention. We will send this for good service for future updates on the software.

    If my post answered your question, please mark it as "accept as a Solution. Thanks_MItch

  • Background image of display and scrolling VFM

    Right now, I'm stuck trying to give the desired result work on my screen. I already know the basics of adding a background to a Manager (value bit flags USE_ALL_WIDTH and USE_ALL_HEIGHT so that paint void). However, I must also deal with a child growable VFM attached to the screen can scroll if the height is greater than the height the screen less the height of the top banner field. What I want to achieve is the following: having a screen that does not scroll with a background image that is attached to the dimensions of the screen less field height of the banner (first low-level with the BG Manager). However, I want the VFM child to be able to scroll if necessary while the BG image is displayed in the background. Here's what I have so far to my constructor:

    public MyMainScreen(){
       super( NO_VERTICAL_SCROLLBAR );
       VerticalFieldManager myVFM = new VerticalFieldManager(
                                    VerticalFieldManager.USE_ALL_WIDTH
                    | VerticalFieldManager.NO_HORIZONTAL_SCROLL
                    | VerticalFieldManager.NO_VERTICAL_SCROLLBAR
                    | VerticalFieldManager.FIELD_TOP
                    | VerticalFieldManager.TOPMOST
                    | VerticalFieldManager.BOTTOMMOST );
       setBanner(myBannerField);
       //fields are added to VFM.....
    
       VerticalFieldManager bgManager = new VerticalFieldManager(
                                    VerticalFieldManager.USE_ALL_WIDTH
                                    | VerticalFieldManager.USE_ALL_HEIGHT
                                    | VerticalFieldManager.NO_VERTICAL_SCROLL){
               public void paint(Graphics g){
                  //my BG gets drawn here...
                  super.paint(g);
               }
       };
       bgManager.add(myVFM);
       add(bgManager);
    }
    

    So, I just need to know if I'm doing something wrong here. Of course, it may be obvious to some, but for some reason that I'm completely stumped. Thanks in advance.

    Tried again without the substitution of sublayout, and he managed to work given my VFM populating routines, because the domain in question (HFM) that is updated is added without all the fields added initially, so my VFM has all the fields, it needs at that point to have himself. You're right, if I wanted to complex me and choose to place the fields of optimization of resources on particular points, it would be wise to replace sublayout and define to what extent, accordingly, but in this case, it works fine without it. Anyway, the people, the answer today is that your screen does not scroll by setting super (NO_VERTICAL_SCROLLBAR |) NO_VERTICAL_SCROLL) in the constructor, however, if you want the custom vertical scrolling on your VOR with BG, you must set to vertically, do scroll down and use the height by passing the following style bits:

    VerticalFieldManager.USE_ALL_WIDTH
    | VerticalFieldManager.NO_HORIZONTAL_SCROLL
    | VerticalFieldManager.VERTICAL_SCROLL
    | VerticalFieldManager.NO_VERTICAL_SCROLLBAR
    | VerticalFieldManager.USE_ALL_HEIGHT

    then you replace paintBackground appeal of this optimization of the resources any desired call paint and that's it.

Maybe you are looking for