How to convert an AVI frame to an image data cluster ?

Hi everybody,
I have previous VIs that manipulate pictures (image data cluster) readen from JPEG files. I'd like to use these VIs to analyse individual frames from an AVI file.
How can I connect the image out of the IMAQ AVI read.vi to the picture input of the Draw Flattened Pixmap.vi?
Thanks for helping,
Olivier
Solved!
Go to Solution.

Thanks for the tip but, in my implentation, it generates that the no picture can be manipulated. Could you tell me where is my mistake?
Thanks,
Olivier
Attachments:
AVI2JPEG.vi ‏15 KB
clock.avi ‏81 KB

Similar Messages

  • [Oracle 8i] How to convert a string (time stamp) into a date?

    I'm having difficulty figuring out how to convert a time stamp string into a date (or possibly a number).
    The time stamp is 20 positions, character (NOT NULL, CHAR(20))
    in the format: YYYYMMDDHHMMSSUUUUUU
    where Y = Year, M = Month, D = Day, M = Minutes, S = Seconds, and U = Microseconds
    The reason I want to convert this is so that I can compare one time stamp to another (i.e. I want to be able to find the MIN(timestamp), MAX(timestamp), and do inequality comparisons).
    Is this at all possible?
    Thanks in advance for help on this!

    Hi,
    As Damorgan said, if all you want to do is find which is the earliest or latest, then you can just compare the strings: they happen to be in a format where that works.
    If you need to do other things, such as compare them to today's date, or see the difference between two of your rows in days, then you have to convert them to DATEs. (There's no point in converting them to NUMBERs).
    A new data type, TIMESTAMP, which handles fractions of a second, was introduced in Oracle 9.
    Since you're using Oracle 8 (according to your subject line), you either have to
    (1) ignore the microseconds, or
    (2) use a separate NUMBER column for the microseconds.
    Either way, use TO_DATE to convert the first 14 characters to a DATE:
    TO_DATE ( SUBSTR (txt, 1, 14)
            , 'YYYYMMDDHH24MISS'
            )where txt is your CHAR column.
    To convert the microseconds to a number (between 0 and 999999):
    TO_NUMBER (SUBSTR (txt, 15))

  • How to convert an Integer to byte[] without lose data?

    How to convert an Integer to byte[] without lose data?

    I use the following to convert any java Object to a byte array
    public static byte[] getBytes(Object obj) throws java.io.IOException
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
            ObjectOutputStream oos = new ObjectOutputStream(bos);
            oos.writeObject(obj);
            oos.flush();
            oos.close();
            bos.close();
            byte [] data = bos.toByteArray();
            return data;
    }

  • How to convert a black and white tif image to colour

    I want to convert a black and white tif image to colour. I opened it in Photoshop, changed the mode to RGB colour/8, saved it as psd, but when I use the Replace Colour dialogue box, I just get my colour showing as grey-scale. What’s the correct way to proceed?
    Thank you

    What’s the correct way to proceed?
    Joke?
    In Photoshop there are often more ways than one to achieve a task and none of them need be considered »wrong« as long as the result fits the intention, so »the correct way« seems to be problematic terminology.
    Anyway, one can use a Layer set to Blend Mode Color and paint on that with whatever colors.
    Or one can use Solid Color Layers set to Blend Mode Color.
    Or Hue/Saturation Layers …
    To edit contrast if necessary Curves or Levels Adjustment Layers can be employed.
    You could also have googled »photoshop colorize black and white« …

  • How to convert all white - alpha for vector image?

    I'm attempting to make a new font. Currently I've been saving all the png -> vector images that I work with as .AI files, so that I can import them into my font program later, and they open fine in illustrator. The problem is, I usually save my vector images with a white background instead of alpha. Now, I need to replace white with alpha, but I can't find a magic wand in illustrator . Any help?

    function(){return A.apply(null,[this].concat($A(arguments)))}
    I only knew the most fundamental differences between raster and vector: that raster images are saved in dots while vector images are saved in, at the simpliest, lines.
    Not "dots";  pixels. Pixels are simply color values. That's all. Raster programs arrange color values in a rectangular grid of same-size rectangles (usually squares).
    Not "lines"; paths. Paths are discrete individual objects. Paths are stacked, independently moved, freely arranged, scaled, filled, stroked, and otherwise manipulated as individual objects.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    But I'd have thought there was a way to quickly delete the white lines
    There is no "vector image" with a background. Where there are no objects, there is no "background." If a path is there, regardless of whether it has a white fill, a white stroke, or fill(s) and/or stroke(s) of any other color or no color at all, the path is there and can be deleted. (Again, there is no substitute for learning to use the program from the documentation.)
    Technically, paths are mathematically-defined curves. So even a "straight line" is a path, and is technically a curve. The specific kind of mathematically-defined curve used in programs like Illustrator is called a Bezier curve.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    I have no idea how hard it is to create a vector image from scratch.
    It's not rocket science. Anyone can learn it. But again, you have to learn it. There is no substitute for learning to use the program from the documentation.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    I myself am mostly a newbie in both hemispheres of the graphic design world.
    It shows. And there's certainly nothing wrong with that. We all started as beginners. I'm not trying to belittle you: I'm offering you sound advice that will serve as a very valuable shortcut to becoming more than a beginner (if you will accept it) without an unnecessary amount of fumbling around with bad practices.
    Just don't ever claim to a client or in a job interview to know anything at all about any mainstream general-purpose vector drawing program (of which Illustrator is just one) until you are proficient at drawing Bezier curves. That's prerequisite. It's lesson one in chapter one. Might as well start there. Start at the correct beginning and you'll know all the answers to the questions you have asked in this thread. Your understanding of "background" and things like why a region with no objects is not the same thing as an alpha channel in a raster image will come very early if you just start at the beginning. You've got to learn the lay of the land. Start at the beginning.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    In any case, I use a program called vectormagic that does the work for me pretty well, so you might want to check it out.
    Trust me; I'm familiar with it. It's just another autotrace program. I know what it does. I know how "well" it does it. Everything I said in the previous post stands.
    Vector drawing programs are not the kind of program you learn by just launching it and poking around. Not if you want to avoid endless confusion and frustration. Asking random questions in an online user forum (in which wrong "answers" are just as common as right answers) everytime you encounter a point of confusion is just as inefficient. Read the documentation.
    JET

  • How can I know the length of the image data section of a PSD file

    I'm a C++ programmer developing a project to parse PSD files, and it's necessary to know whether there is a length field indicating the length of the image data in image data section of a PSD file, if not, how can I know the length?
    Thank you.

    Sorry I can't help, maybe there is some information in the SDK?
    http://www.adobe.com/devnet/photoshop/sdk.html
    Or someone might be able to help in this forum?
    http://forums.adobe.com/community/photoshop/photoshop_sdk

  • How to convert and avi to flv

    Hello everybody,
    I have an avi file that I would like to convert to an flv
    file. Can I do this in Flash CS3? If so, how?
    Any help for a rookie would be much appreciated. Thanks so
    much for your time.
    Scott

    fusion25 wrote:
    > Hello everybody,
    >
    > I have an avi file that I would like to convert to an
    flv file. Can I do this
    > in Flash CS3? If so, how?
    >
    > Any help for a rookie would be much appreciated. Thanks
    so much for your time.
    Flash CS3 comes with "Adobe Flash CS3 Video Encoder",
    standalone application.
    You could as well use Flash to convert to FLV, simply import
    that file to flash
    and it will open the FLV conversion dialog automatically.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How to convert a still frame in IMovie to Iphoto

    After I convert video to a still frame in IMovie, how to I save the still frame in Iphoto?

    You have to Import the still image into the iPhoto Library. Go to the File Menu > Import to Library... then choose the photo from the Desktop or wherever you may have saved it onto your Macintosh.

  • How to convert to avi?

    I have a video that was taken on VHS and I want to convert it
    to .avi.
    Is there a way to do this with any of the utilities out
    there? I have
    Googled, but can't seem to get a clear answer.
    I have burned the video to DVD so I have that to work from.
    Thanks.

    I have had mixed results with converting DVDs to AVI.
    Sometimes works
    great, other times nada. Much depends on the make and model
    of DVD burner
    used, disk type, copyright encryption and other stuff I won't
    bore you with.
    But this product works real well most of the time.
    Alive DVD Ripper
    http://www.alivemedia.net/
    Failing that, you could output the VHS tape to a camcorder by
    plugging
    camera into your old VHS player and copying the analog signal
    onto digital
    tape, mini dv or whathaveyou. Then plug the video cam into
    your computer
    and using a movie editing ware like Pinnacle's Studio DV or
    Sony Movie Maker
    (there are many out there), capture the video, edit and
    output to avi or one
    of many other formats.
    --Nancy
    "Port Man" <[email protected]> wrote in message
    news:etmrm9$7l1$[email protected]..
    > I have a video that was taken on VHS and I want to
    convert it to .avi.
    > Is there a way to do this with any of the utilities out
    there? I have
    > Googled, but can't seem to get a clear answer.
    >
    > I have burned the video to DVD so I have that to work
    from.
    >
    > Thanks.
    >
    > --
    >

  • How do convert DivX AVI to play in iTunes and especially on iPod?

    I have a DivX AVI video file I would very much like to have on my iPod but have no clue what program might exist that would convert it to an iPod compatible format? I have Toast 7 if that helps..

    I got my answer here, it's perfect!
    http://www.versiontracker.com/dyn/moreinfo/macosx/28250

  • How do i save a frame to a image file?

    im trying to save a frame from Final Cut Pro 5 to my hard disk to save and edit with an editor such as Photoshop. how do i save it. what menu options do i use?

    The first thing you should do is check out the manual. This is a very, very basic export procedure; File->Export->Using QuickTime Conversion. Then choose still image from the format menu and your file type (JPG, TIF, PSD, etc) from the Option Menu.
    -DH

  • Frame7: How to 'snug' an anchored frame to an image (make it the exact same size)?

    I remember there's a key combination to do this (at least I think I remember that), but have no idea what it is.
    I insert an anchored frame in my doc.
    I select the frame and import an object (a visio drawing).
    I want the frame to be exactly the same size as the drawing - right now I'm using the grab bars and resizing the frame, but that's not totally accurate.
    Help?
    Thanks!

    You are a GOD!
    Many thanks... it's such a handy tool. Makes everything fit perfectly, no mistakes in aligning the frame edge and obscuring image content, *and* it shows if your image has 'junk' floating in it.
    (I just tried it on one of my linked Visio drawings and the frame went *huge*. Turns out there was a stray line hanging off the bottom of the visible area of the drawing :-) )

  • How to convert an html file to an image

    Any Sample Codes.........................

    I need the code in java for this conversion.If the scrolling is there in html......then by snap shot it will not come totally..............I need total html......converted to image..........

  • How to convert output of servlet into an image????

    hi,
    guys i know how to mail and all that stuff.
    My present situation is to capture the output of a servlet as an image
    so that i can attach it as an attach it as an attachment with the mail application to forward it (also to fix it as a background to the textarea of the compose section).
    thanks in advance.

    The output of a sevrlet can be an image in the first place.
    Do you want to render an HTML output and to capture the visual representation in an image?

  • How to convert yellow background from the scanned images of a complete book

    I am having a pdf file having approx 500 pages, it is having scanned images of all the pages. the gound of these pages are yellow due to very old book, i want to remove this yellow ground from all the pages in one go, please guide me. i am using CS6 standard.

    You would have to open the pages one at a time using File --> Open and then use the adjustment tools. If you use e.g. the Levels adjustment's whitepoint eyedropper, this could be as easy as one click. You would then save each adjusted imaghe separately and then later re-assemble them using Acrobat or similar tools to create a new PDF. Generally there could be a million pitfalls here, though, such as:
    the scans being inconsitent and thus each adjustment looking different
    the adjustments being too agressive and eroding the text
    the adjustments requiring lots of manual intervention
    additional cloning and painting being required to remove stains or fix holes
    In any case, it's not going to happen "in one go", no matter what. You will have to spend considerable time on this if you want to do it right. Perhaps you can extract the pages by using File --> Save Pages as Images in Acrobat and then batch process them, but beyond that I don't see muich in the way of automating or streamlining the process. This is something one typically would do already when scanning the books by using a color chart and a high quality scanner that can calibrate itself based on this reference chart for each page...
    Mylenium

Maybe you are looking for