Converting images from a Matrox frame grabber to LV?

How can I convert an image captured with ActiveMIL Lite from a Matrox frame grabber to an IMAQ Vision image?
I grab the image in LV using the ActiveMIL Lite functions. After that I will analyse the image using IMAQ Vision. So I have to convert the Matrox image to a LabView Image.
Thanks for help

Uli,
I believe Graftek Imaging has LV drivers for Matrox frame grabbers. You can call Robert Eastlund at (800) 441-2118 and he will be able to help you.
Bruce
Bruce Ammons
Ammons Engineering

Similar Messages

  • Convert image from RGB to CMYK and back to RGB

    Hey.
    I wonder if anyone has experience with converting image from RGB to CMYK and back to RGB?
    I had a TIF in RGB then converted to CMYK but I figured that it might be better to keep in RGB, so I converted back. I read that it supposed to cause some loss in the data, but I can't see anything on the image, it is still very huge and the 2 RGB files has the same size as well. Is there a way to compare the resolution of 2 images somehow, or how can I see what I lost through the 2 conversions?
    Thanks for help

    I had a TIF in RGB then converted to CMYK but I figured that it might be better to keep in RGB, so I converted back.
    The original RGB data is not being restored by converting from the CMYK version, so the term "keep" seems inappropriate.
    What are the actual Color Spaces (ICC profiles) involved?
    Is there a way to compare the resolution of 2 images somehow, or how can I see what I lost through the 2 conversions?
    How did resolution come into this?
    To determine how large a portion of the image has been changed you could
    • make a flattened copy of the original image
    • place a flattened copy of the RGB->CMYK->RGB image on top of that and set it to Blend Mode Difference
    • add an Adjustment Layer (Curves for example) to brighten the image

  • Using Aperture to batch convert images from tiff to jpeg

    Hi there
    My first question - here goes:
    I wish to batch convert several thousand tiffs (of various sizes) to a standardised jpeg (A4 @ 300dpi). I'm looking for software to automate this process as much as possible; ideally, it would search designated folders and place the new jpegs in a (matching) new folder structure.
    Would Aperture be suitable for this, or should I consider Adobe Lightroom (or other)?
    Many thanks
    BR

    No filters.
    Solution I used was to create new project. Copy images to it. Delete old project.
    Aperture would not let me copy images from old albums to old project.

  • Dragging image from minibridge to frame which isn't on top (CS5)

    Hi there,
    I'm working with InDesign CS5
    I've created a frame on a page, dragged an image to it. I now need to replace it with a new image.
    I do this by:
    1) selecting the frame
    2)dragging from mini bridge.
    This works fine if the frame is the top most layer, or off the page (So long as nothing is on top of it).
    However, as soon as another page element is 'on top' of this frame, the image will fill the whole page, not the frame.
    If I drag the frame off page, the drag and drop functionality works once more.
    How should I replace the images within frames which are not on the top?
    Many thanks
    threeisles

    Thank you Peter,
    that does work well. I shall use that method now.
    Thank you for taking the time to reply and your helpful advice.
    threeisles

  • Convert image from color to black&white

    Hi,
    I'd like to transform a colored picture (from a gif or jpeg file for
    exemple) in a Black and White image (wbmp format). I use a
    ColorConvertOp to do that, but I don't know how to param it to have a nice
    conversion, not a pixel level conversion. Here is the code I used:
    BufferedImage bi4 = new BufferedImage(bi3.getWidth(), bi3.getHeight(),
    BufferedImage.TYPE_BYTE_BINARY);
    ColorConvertOp cco2 = new
    ColorConvertOp(ColorSpace.getInstance(ColorSpace.CS_GRAY), null);
    cco2.filter(bi3, bi4);
    Where bi3 is my original BufferedImage.
    Do you know where I can find more information on this conversion, because in
    the help I don't understand everything (I have no knowledge on picture
    conversion)?
    Thanks for all
    Vincent

    Try this example
    regards
    Stas
    import javax.swing.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.io.*;
    public class Test {
    JScrollPane scroll;
    JEditorPane edit=new JEditorPane();
    public Test() throws Exception {
    JFrame frame=new JFrame();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    BufferedImage sourceImage=new BufferedImage(100,100,BufferedImage.TYPE_INT_RGB);
    Graphics g=sourceImage.getGraphics();
    g.setColor(Color.red);
    g.fillRect(0,0,100,100);
    g.setColor(Color.blue);
    g.fillRect(10,10,80,80);
    g.setColor(Color.yellow);
    g.fillRect(20,20,60,60);
    g.setColor(Color.white);
    g.drawString("test",5,15);
    frame.getContentPane().add(new JLabel(new ImageIcon(sourceImage)));
    BufferedImage grayImage=new BufferedImage(100,100,BufferedImage.TYPE_BYTE_GRAY);
    grayImage.getGraphics().drawImage(sourceImage,0,0,null);
    frame.getContentPane().add(new JLabel(new ImageIcon(grayImage)),BorderLayout.SOUTH);
    frame.pack();
    frame.setLocationRelativeTo(null);
    frame.show();
    public static void main(String[] args) throws Exception {
    new Test();

  • Convert images from 24 bit RGB to 8bit and get the best colors

    Hi,
    I use this to do the conversion:
    BufferedImage img2 = new BufferedImage(img1.getWidth(), img1.getHeight(), BufferedImage.TYPE_BYTE_INDEXED);
    ColorSpace colorSpace = img2.getColorModel().getColorSpace();
    ColorConvertOp convertOp = new ColorConvertOp(colorSpace, null);
    convertOp.filter(img1, img2);
    But the colors from img2 does not match with those from img1.
    I guest that it uses a default 256 colors, instead of extracting colors from original images.
    I read about a intermediate conversion to CS_CIEXYZ color space and then to an output colorspace, but i don't now how to code it.
    Clould provide an example of how to do this?
    Many thanks for any help, and duke dollars for the best of them,
    Eugen

    I read about a intermediate conversion to CS_CIEXYZ
    color space and then to an output colorspace, but i
    don't now how to code it.I don't think that's going to help, because I bet your original ColorSpace is sRGB and so will be the ColorSpace of the IndexColorModel.
    1. You are right, the colors used with TYPE_BYTE_INDEXED are default colors. Here is a snippet from the source code:
    // Create a 6x6x6 color cube
    int[] cmap = new int[256];
    int i=0;
    for (int r=0; r < 256; r += 51) {
        for (int g=0; g < 256; g += 51) {
            for (int b=0; b < 256; b += 51) {
                cmap[i++] = (r<<16)|(g<<8)|b;
    // And populate the rest of the cmap with gray values
    int grayIncr = 256/(256-i);
    // The gray ramp will be between 18 and 252
    int gray = grayIncr*3;
    for (; i < 256; i++) {
        cmap[i] = (gray<<16)|(gray<<8)|gray;
        gray += grayIncr;
    colorModel = new IndexColorModel(8, 256, cmap, 0, false, -1, DataBuffer.TYPE_BYTE);2. If you want to use different colors in the ICM, I can imagine a couple strategies:
    a. You know the colors you want to use: use them!
    b. Your original image only has a few colors: sample the image to find out what those colors are.
    c. You have no idea what colors are in your image and how many there are, but you want to try to choose a palette that reflects its composition: for example, if your image is a sunset, your palette will have many colors in the spectrum from yellow->orange->red. Good luck! Perhaps create a collectiom of color "buckets" representing a neighboorhood around a color. For example (R,G,B) = (100,120,45) +/- 5 in each component. Then sample the image. If a bucket is empty you don't need that color; if a bucket is "overflowing" perhaps you need to subdivide the bucket into subbuckets with smaller neighboorhoods (I'll say it again: good luck!)

  • OT: help converting image from Illustrator .eps file to

    I have 2 files that were sent to me as (supposedly) full
    vector-based format
    from Illustrator. When I view these in FW, I see only a
    bitmap. I know it
    is possible to convert these to a FW png where each element
    of the graphic
    is a separate object but I don't have the software to do so.
    Is there anyone out there who would be willing and able to
    convert these for
    me?
    Kathie

    You can email me the files if you like, my address is joseph
    dot dasilva at gmail dot com.

  • Script for replacing Image from a frame into InDesign document file

    Hi All,
    I am having an indesign document (indd) file with images and texts. I am using InDesign Server CS4 to run the scripts via SOAP.
    My requirement is to replace any of the images from the required frame/s of indesign document through scripting (I already have frame id of which image needs to be replaced). I have written written java-script file (as given below): but when I execute this java-script on InDesign Server via SOAP, I get follwoing error into InDesign Server:
    10/03/09 15:15:54 INFO  [javascript] Executing File: \\Server_IP_Address\JavaScript_File_Path\JavaScript_File.js
    10/03/09 15:16:01 ERROR [link manager] Link missing.; file:C:/help.gif
    10/03/09 15:16:01 ERROR [link manager] Link missing.; file:C:/Documents%20and%20Settings/All%20Users/Documents/My%20Pictures/Sample%20Pictures/ Water%20lilies.jpg
    10/03/09 15:16:01 ERROR [link manager] Link missing.; file:C:/Documents%20and%20Settings/All%20Users/Documents/My%20Pictures/Sample%20Pictures/ Winter.jpg
    Following is the java-script that is being used for replacing image from indd's frame:
    var myDocument = app.open(File('//Server_IP_Address/InDesignDocument_File_Path/Sample.indd'));
    var tmp_frmid="1339"; //frame id of which image needs to be replaced.
    for (var i=0;i<myDocument.pages.length;i++)
    var objPage=myDocument.pages.item(i);
    var objPageitems = objPage.pageItems;
    try
    var obj = objPageitems.itemByID(tmp_frmid);
    obj.images[0].remove;
    obj.appliedObjectStyle = null;
    var myImage=obj.place(File('//Server_IP_Address/Images_to_be_reolaced_Path/ImageFile.jpg'));
    var old_height = myImage.geometricBounds[2] - myImage.geometricBounds[0];
    var new_height = obj.geometricBounds[2] - obj.geometricBounds[0];
    var old_width = myImage.geometricBounds[3] - myImage.geometricBounds[1];
    var new_width = obj.geometricBounds[1] + ((new_height / old_height) * old_width);
    myImage.geometricBounds = [obj.geometricBounds[0] + "mm", obj.geometricBounds[1] + "mm", obj.geometricBounds[2] + "mm", new_width + "mm"];
    var diff = obj.geometricBounds[1] - myImage.geometricBounds[1];
    myImage.move( undefined, [diff,0] );
    break;
    catch(e)
    myDocument.save('//Server_IP_Address/InDesignDocument_File_Path/Sample.indd');
    var previewFile = File('//Server_IP_Address/Images_to_be_reolaced_Path/ImageFile.jpg');
    app.jpegExportPreferences.jpegQuality["JPEGOptionsQuality.low"];
    app.documents.item(0).exportFile(ExportFormat.jpg, previewFile);
    myDocument.close();
    I have very urgent requirement; if anyone have any idea; please suggest me. \
    It would be highly appreciable.
    Kind Regards,
    Prashant.

    http://www.automatication.com/selection-to-pdf-script.html
    Harbs
    http://www.in-tools.com

  • Help, bridge will not convert the images from my Canon 7D into raw

    Has anyone else had problems converting images from a Canon 7D into Raw format?  Bridge downloads them and then tells me it could not convert them.  Hopefully someone out there has a fix.  Aah the joys of new equipment and software.
    EW

    Bridge should be converting image FROM raw format, not TO raw format.
    If you have Photoshop CS4 you should update to the latest Camera RAW plugin:
    http://www.adobe.com/downloads/updates/
    If you have an earlier version of Photoshop (CS, CS2, CS3) then you can download the latest free DNG Converter and convert the 7D RAWs to DNGs and then an older version of Camera RAW can open them.
    http://www.adobe.com/support/downloads/product.jsp?product=106&platform=Windows
    CS5 will be announced in a few weeks/months, and when it is available there will only be an upgrade path from CS2, CS3 and CS4, so if you have PS CS then you need to upgrade to CS4, now, before CS4 is available, otherwise to upgrade to CS5 you will need to pay full price.
    If you have a PS version newer than CS then you can wait and upgrade to CS5 when it is out.
    With either CS4 (and the newest Camera RAW update) and CS5, you won't have to convert 7D RAWs to DNGs to work on them.

  • Converting images using ImageIO

    hello all,
    I am in need of help asap.
    Does anyone know how to convert images from jpg/gif to PNG format using Imageiio? I will be very grateful if u can pass this information on to me. I need to convert the images on a server side and send the png image to a mobile (j2me) client.
    Please respond to this if you have ideas on this.
    cheers
    cp

    quite simple.
    for example, you got abc.gif , want to convert to jpp
    BufferedImage bi = ImageIO.read(new File("abc.gif"));
    ImageIO.write(bi, "jpg", new File("abc.jpg"));

  • Cannot separate images from the link panel

    Hi Sir,
    I need advice and tip to ungroup or separate the individual images from the link panel. I cannot select specific image from the rectangle frame. I have screen captured as belew. Any help is greatly appreciated.

    Hi Peter,
    I am using CS6, I managed to select each image using the Direct Selection Tool. However, I noticed that there is a "Link Icon" on the top left corner. Why does it appear?

  • Automator error when trying to convert images

    Hi everyone,
    I'm trying to create a workflow to convert images from .psd to .jpeg and for some reason when I run the workflow I get an error on the convert images option. All it says is action failed. Anyone have any advice? This is my first time using automator and I successfully set up a workflow to resize images, so I think I get the gist.
    Thanks!!

    Are you using a photoshop-specific action, or the built-in "Convert to JPEG" action?  It's entirely possible that the built-in action might not consider a photoshop file a graphics file.  Your choices then are to see if adobe has put out some specialized actions for dealing with psd files, or to switch to applescript and script photoshop directly.

  • Convert image into TIFF 4

    I have a requirement to convert images from TIFF 6 to TIFF 4. I have been able to convert to TIFF without compression. However, to reduce the file sizes I need to implement compression_group4. Although it is listed as being supported . . . it does not appear to be.
    Any ideas?

    (1) Are you using compression? I can create TIFFs but not compress them using .COMPRESSION_GROUP4
    (2) When I try and use JAI's ImageCodec (specifically TIFFEncodeParam) and specify COMPRESSION_GROUP4 I get a run-time error: "java.lang.Error: Unsupported compression scheme specified."
    (3) This error seems to be generated by the line .setCompression, as I have been able to generate the error without specifying an image. (ie: it's not related to this image not being supported)
    (A) Here is the code I'm using:
    OutputStream os = new FileOutputStream(destinationFile); //where destinationFile is a File object representing the saved file
    TIFFEncodeParam param = new TIFFEncodeParam();
    param.setCompression(TIFFEncodeParam.COMPRESSION_GROUP4);
    ImageEncoder enc = ImageCodec.createImageEncoder("TIFF", os, param);
    enc.encode(src); //where src is a RenderedImage Object
    os.close();
    any ideas?
    Thanks in advance!

  • How to remove noise on images acquire from Digital 8 VCR to PCI-1409 frame grabber ?

    I have some constant noise in the form of a discontinuous white horizontal line running accross the top of images which were grabbed from a digital 8 video signal. I have tried all the settings in MAX to remove these and have check the integrity of my connections, but to no avail ?

    Kyle,
    I found that adjusting the acqu window did the trick.
    It seems that all the video i have on Digital 8 tapes gives me the same problem. When i use the camera directly to the frame grabber there is no problem.
    In due course i'll try another camera with the Dig 8 VCR and compare these output picture quality.
    Thanks for the advice,
    Fraser

  • Video acquisition from frame grabber

    I wanted to acquire image from a video camera which only has analog output. To do that, I used a framegrabber, called :"Hauppaugel analog video giditizer".
    However, as I can see from the list, the framegrabber provides image with YUY 2 format and in the list of my Labview vision module, I could not find such type.
    I have written a code for acquiring image which works fine with normal web cameras. however, when I want to use it for acquiring the image from frame grabber, it gives following errors:
    1. Error code: 1074396120 Not an image
    2. Error code: 1074396015 Cannot connect to camera, it may be in use.
    I guess it has something to do with the formats of the picture, but I really don't have experience with that. Could you help me out? The code is attached.
    I lookforward to your advice and thank you in advance for the help.
    Attachments:
    usb-acquire-avi22.vi ‏69 KB

    Hello,
    First, you have to know that your camera must be Direct Show, otherwise, you won't be able to use it in LabVIEW.
    If it is compatible, then you will be able to grab image using IMAQ USB, but keep in mind that this set of VI is no longer supported as IMAQdx is fully compatible with DirectShow cameras, and much better than IMAQ USB.
    Regards

Maybe you are looking for

  • Nokia 6650 MMS problems

    Hi I have just purchased a 6650 FOLD and I am wanting to use it my O2 postpay sim. I have changed the settings for internet usage and I can can get access. However I can not manage to set up the MMS to work. I have tried settings from the internet bu

  • How can I get back ios 6

    My wife upgraded to ios 7 and can't stand it. I find it very hard to read the screen. How do I get ios 6 back on her phone?

  • When I open an exported image after editing it, it is completely different than the image in Lightroom

    I edit an image in Lightroom and happy with the results I export (save) onto my computer.  When I then open the image it looks completely different to the one I just edited and saved!  Very frustrating!  I did not take it in raw format,  I have taken

  • CAPWAP tunnel flapping

    A couple of weeks ago we did an upgrade to controller code 7.0.235.3 on our WiSM's and upgraded WCS to 7.0.230.0. Since then, I have one AIR-LAP1252AG-A-K9 that will not stay up. AP04 CAPWAP Up Time 4 h 13 m 46 s CAPWAP Join Taken Time 1 m 22 s Users

  • Importing songs from cd to iphone

    After importing songs from cd's I can not get them to show on my iphone5 playlist, they only show up on the playlist on my computer at home.  I have tried syncing.  I do not have this issue if I purchase a song from itues...it goes directly to my pho