Overlay bitmap image onto video

I'm just starting to play around with the image overlay functions the vision toolkit provides, but one issue has stumped me early on. We are capturing VGA video and want to overlay a bitmap image of a graph built from the data collected. The image right now is 400x144, which should be small enough to fit into the video's 640x480 frame. I thought this would be a simple plug-and-play procedure where I could take a bitmap file, read it, and overlay it, but it seems that is not the case. The bitmap overlay VI requires the array from the bitmap to be two dimensional, while the read bitmap file VI puts out the information in a 1D array. I've tried reshaping the array into two dimensions, but the closest I have been able to come can be seen in the graph example picture below, while the actual graph I wish to display is labeled export. Any ideas on how to cleanly display this image?

Hey totally_wired,
Have you seen our image overlay examples
on the NI Developer Zone? Be sure to check out the common
questions and issues for the image overlay functions as well.  If you have the Vision Development Module
software, these examples
may also be helpful.
Could you send your VI so that we can take a look at how
exactly you are doing the overlay? It never hurts to have a second (or Nth) set
of eyes look at it

Similar Messages

  • How do I overlay an image onto video

    Hello
    I found a tip on how to create a mask in Photoshop, then overlay it onto iMovie. But the example video was so small I could not follow it.
    My requirement is that I shoot video of say a computer screen, then I want to make a blurred out portion of the screen image in Photoshop, then overlay it back onto the video footage. I want to do this to blur out any private information, for example a username or password.
    Can anyone help, please?

    I want to do this to blur out any private information, for example a username or password.
    With iMovie, I would normally do this as a post edit in QT Pro. Simply create your "mask" and layer it over the information you wish to protect. By using the "Add to Selection & Scale" option, you can then set the proper duration automatically, as well as, set the location to "cover" the exact area needed. Would assume this might also be possible in iMovie, but would require a PNG with "Alpha" channel to be dropped on your original clip and then manually adjusting the duration and would still likely require QT Pro to set the proper alpha-channel "mask" option later. Assume ther may be other ways to do this.

  • How to superimpose still images onto video?

    Hi there,
    I'm an absolute beginner with iMovie (and video editing in general), so please forgive my ignorance!
    OK, my question is this: Is it possible to superimpose still images on top of video in iMovie, and if so how? I'm using iMovie because it has a reputation for ease of use, and yet I can't figure out how to do this... Basically, all I want to do is take a single piece of video about 5 minutes long and periodically fade in and fade out some still images on top of the action. Am I being too ambitious here?! Should I just give up on the idea...?!
    Any help or advice would be very gratefully received!
    Thanks.

    Just in case anyone else is interested in doing something similar - I found two (commercial) solutions to this problem:
    Gee Three software's 'Slick 4 - Hollywood edition' plug-ins package includes 'Picture-in-Picture' - $50 (also includes three other great effects): http://www.geethree.com/slick/V_04.html
    cf/x's 'Picture in Clip (Static)' does exactly the same, but only costs a bargain $1.50 - available here: http://www.imovieplugins.com/plugs/pictinclipstat.html
    Cheers!

  • How to overlay an image onto separate layers while maintaining separate layers and adding no layers?

    I have a 6400x6400 image that I have divided into 100 640x640 layers. I want to overlay an separate image over the entire 6400x6400 document while making the individual layers hold part of the overlayed image.
    An anaology would be this:
    Imagine that I have created a giant board (6400x6400) and I have cut it into small pieces, where each piece is it's own layers. I want to put a picture to that entire puzzle, so that each layer holds a part of the picture and the picture is not it's own layer, but made up of the smaller layers.

    Here's one way to do it, I added the image in as a new layer, and used Clipping Masks to clip them to the layers.
    You can merge them into one layer by selecting both layers, right click and Merge Layers:
    Hope this helps!
    Julia

  • How to overlay bitmap dvd_subs with ffmpeg.

    For anyone who is interested, or needs help with this.
    Overlaying bitmap dvd_subs onto an output video with ffmpeg.
    Another words, making a video from a DVD, selecting a subtitle stream, overlaying the
    subtitles onto the video without having to convert the subs to another format and then
    doing OCR on them.
    If you can't find the sub streams with ffmpeg -i or ffprobe it's probably
    because the sub stream starts later in the video than ffmpeg has probed. You can solve
    that with
    ffmpeg -probesize 1000000000 -analyzeduration 100000000 -i video.vob
    Then determine what sub, video and audio stream you want.
    These examples will be for a disk that has video stream 0:0, 1st audio stream 0:1,
    2nd audio stream 0:2, 1st sub stream 0:3, 2nd sub stream 0:4. Use your own
    options to encode the audio-video.
    In the first example:
    Overlay dvd_subs onto video (1st vid stream 0:0, 2nd audio stream 0:2, 2nd sub stream 0:4).
    ffmpeg -probesize 1000000000 -analyzeduration 100000000 -i movie.vob \
    -filter_complex "[0:0][0:4]overlay[0]" -map [0] -map 0:2 -c:a copy \
    -c:v libx264 -b:v 2500k movie.avi
    In the second example:
    Do the same thing a little differently. Stream one is 0, stream two is 1 etc.
    ffmpeg -probesize 1000000000 -analyzeduration 100000000 -i movie.vob \
    -filter_complex "[0:v][0:s:1]overlay[v]" -map [v] -map 0:a:1 -c:a copy \
    -c:v libx264 -b:v 2500k movie.avi
    Third example:
    Overlay dvd_subs onto video with video cropping and subtitles scaled to fit
    the video.
    Video cropped=a, Subs scaled=b, Overlay(b over a)=c
    ffmpeg -probesize 1000000000 -analyzeduration 100000000 -i movie.vob \
    -filter_complex "[0:0]crop=706:362:8:56[a];[0:4]scale=706:362[b];[a][b]overlay[c]" \
    -map [c] -map 0:2 -c:a copy -c:v libx264 -b:v 2500k movie.avi

    What exactly are you wanting the result in the image viewer to be (just one image at a time or the whole array of images)? Also, I would recommend posting this question as a new thread in the Measurement Studio forums. Posting a new thread will open up your question to even more users and therefore have a better chance of having an ongoing discussion with multiple users. The forums for Measurement Studio can be found at the following links:
    http://forums.ni.com/t5/Measurement-Studio-for-NET/bd-p/232
    http://forums.ni.com/t5/Measurement-Studio-for-VB6/bd-p/230
    http://forums.ni.com/t5/Measurement-Studio-for-VC/bd-p/231
    Daniel K | NI Applications Engineer | Certified LabVIEW Developer

  • How to project an image onto a background image?

    Hi,
    I am looking for help with projecting an image over another image.
    I am looking for a similar effect to the image above where it looks like the image of the player as (physically) been projected onto the tunnel.
    Looking closely at the detail of the image you can see that the projection adjusts to the contours of the tunnel i.e. over the framing. This is what I specifically need some help with. I know how to overlay an image onto another using different layers but it doesn't really give a three-dimensional perspective and looks rather flat.
    Any help or advice would be greatly appreciated. Thanks
    Ravi.

    Hi Ravi -
    Could you post what you have done so far, and include your expanded layers panel? The source images would also be helpful, if possible!
    One thing you could try is creating a Displacement Map of your background tunnel image and then wrapping your overlay image to it. The video tutorial below shows you how to do this:
    Beside this, you might just have to spend time tweaking your image to create a realistic overlay. This includes adjusting lighting, but also distorting your overlay image. Have you tried using Edit > Transform > Perspective to align your image to the tunnel? The other Transform tools like Distort and Warp might also come in handy.
    I'm looking forward to helping you with this effect!
    Cheers,
    Kendall

  • Overlay a still image over video.

    I am editing a lot of video and have a need to lay an image over the video, like down the left column or even across the bottom.
    What I am doing is editing footage of a poker game we filmed and I want to be able to display the players' hole cards like they do on TV.
    Does anyone have a solution for this? I've looked and looked with no success.
    Thanks for any help you can offer.

    In iMovie 08, when you overlay a photo over video, it takes the whole screen. iMovie 9, which comes out later this month, should have the ability to do what you are describing.
    Also, if you have QuickTime Pro, you can do this as well. QuickTime Pro is not as intuitive as iMovie so get a good book to help. One such book available from frequent forum participant [QuickTime Kirk|http://homepage.mac.com/kkirkster/book/index.html]

  • Best practice to put overlay images on video?

    Hello community!
    I would like to know what's the best way to put overlay images on videos, like ads ( actually ads )
    I'd like to animate them and all that stuff, the thing is I believe I know how to do it, but I'm not sure.
    On the one side I image that i should create a plugin to manage them, and a MediaElement to put them inside.
    Supposably this mediaElement ( Ads ) should run in Parallel with the video.
    I'm still investigating on that but I would appreciate any help!
    Thanks!

    Yes, you're on the right track.  See this sample app for some additional guidance:
    http://opensource.adobe.com/svn/opensource/osmf/trunk/apps/samples/framework/LayoutSample/
    The sample demonstrates the layout of an overlay bug by placing a VideoElement and ImageElement in a ParallelElement.  To map this to the ad use case, you might have the ImageElement encapsulated within a plugin.

  • I made a video in imovie and saved it, now i want to carry on making it from where i left but every time i try to add an image onto the end it just goes tot he wrong part of the movie, how do i just add it onto the end?

    I made a video in imovie and saved it, now i want to carry on making it from where i left but every time i try to add an image onto the end it just goes tot he wrong part of the movie, how do i just add it onto the end?

    Have you seen my User Tipp here
    "Movie Magic" with Stills and Dissolve
    When you 'prep' your stills in any 'picture app', you can do a lot of marvel by simply applying dissolves.
    In your case, I would create a white document (in Pixelmator, Keynote, Photshop, online at pixlr.com, whatever ...) and another with your logo (and further more ones with additional logos). Drag the jpgs into your iMovie Project and apply dissolves  - tadahh! - logos appear on white.

  • How can I keep overlay image on 8 bit image at video acqusition​?

    Hi, I am using AVT camera Pike with Laview vision 2012
    When I use Example code 'Grab and Attributes Setup.vi' (<NI supported Example),
    I simply add the event case for overlay function (such as 'IMAQ Overlay Oval') with Image  by Local Variables connection (image input - output).
    Event case:
                 Image------[IMAQ Overlay Oval]--------Image
                 Rectangle Control ---|
    IMAQ Overlay should keep the overlay on buffer memory if I input the rectangle value.
    Problem is that the overlay disappeared if I use 8 bit image format?.
    but at the 16bit image format, the image keep the overlay image (colored overlay).
    It seems the overlay buffer is removed by acquiring new 8 bit image, but 16 bit format, the overlay is still alive. 
    Is it bug or what am I wrong?  

    upload the error situation block diagram
    Attachments:
    8bit overlay error1.jpg ‏364 KB

  • How do I overlay n number of  bitmap images using Java.

    Hi All,
    I have a task of creating a composite bitmap or a .gif image from "n" number of bitmap images , so that the resulting composite image will look like as if all those "n" images were placed side by side . How can I achieve this ? Can you point me to some place where I can understand the concepts behind this?

    Create a new BufferedImage with the dimensions of all the images you want combined, then paint all the images into it through the Graphics object you can obtain from the BufferedImage. Then write out the image using the ImageIO class.

  • Could work an animated flash bitmap image exported in html 5, in DPS ?

    I'm new in DPS, just started for a couple of weeks and I need to use a image in an animation.
    I created the animation in inDesign exported in .fla, used de toolkit js, load it in a container with web content overlay, and when I preview it with Adobe Content Viewer it doesn't work, it apears a blank screen. Neighter of animation from that stage won't work.
    To be very precise any animation works fine, when I test the html in a browser, the problem appears only in the content viewer.
    The animation is very simple: smal logo entering in the stage from the right, not very complex.
    I tried in flash with other images in a test file and loaded in inDesign, and still don't work. Other vector animation works well, no problem. I saw that if I have an image in library in flash and export a simple animation with a vector ball, won't work in indesign preview, with content viewer.
    My question is, Could work an animated flash bitmap image exported in html 5, in DPS ?  If so, what should I need to do ?
    Thank you in advance.

    Two possible solutions I was considering:
    1) In my index/first page, have all the swfs present (scaled to 1x1, behind something, or invisible) and have a preloader code on that first page... so all the content gets loaded before continuing onto the rest of the site.  That would certainly work in making the site run quick... but would mean a relatively lengthy wait at the start.  Luckily, unlike my current site, all the actual site content (aside from the header/nav interface) is HTML... so the bulk of the site's content is in the HTML pages, not as part of the Flash header... so it probably wouldn't be too horrific a wait.  However, it would be loading EIGHT of these swfs, since there are eight pages... so then maybe it would be....
    2) Have an swf that consists of just the 'draw up' of the interface, and it's idle state... then when each button is pressed, load a new swf to replace the main one, which has the specific page's animated title sequence, and ends with the code to load the html page.  So, each separate HTML page would have embedded into it only the main swf, and the title animation swf would be swapped in when a nav button is pressed.  Main issue here is each button press would envoke a preloader sequence (kind of tedious)... and unfortunately all the 'main interface' elements loaded in with the main swf would have to be loaded in again at the start of each animated title swf (although none of the draw up... just the loading of the interface and buttons).  For highspeed users, it should be okay, I guess....
    Thoughts or better ideas?

  • How do i blend image and video on premier?

    Hello Everyone
    I'm trying to add a video onto an image on Premier. I want the image to be still and the video to play in the background. How do I make an image and video blend together in Premier?
    Any tips/effects to make this look more interesting? for my project I'm trying to add a disturbing footage from the news onto a landscape photograph.
    I'm using pro 5 on an Imac
    Thanks in advance

    Video on track one.  Image on track two.  Use the motion property to locate and size the image.

  • How to proper resize images and videos at runtime without losing quality?

    Hi guys. I need a bit of help here.
    I've built a flash site in which i want to resize a movie to the stage. I do it by keeping the proportion, thus i only resize the width and then i resize the height acordingly to the new width but keeping the proportion.
    The problem is that my film still looks "pixeled".
    I found a website on which the stage resizes dinamically with the movie and the background images without either of them losing quality. Till now i knew that resizing images or videos in flash at authoring or runtime produces pixeled results.
    This is the website: http://kampanjeweb.apt.no/jotun/romforrom/. Can someone tell me how do they do it without losing quality? just make the browser windowed and resize the margins to see the effect.
    Thanks.

    Hello, Venian.
    About the video, you could try setting the flash.media.Video's smoothing property to TRUE. This should keep a quality, but you can do nothing if the video has a poor quality. You need a great video.
    About the images, you you need to redraw the image each time you resize it. To achieve it, use a combination of Bitmap, BitmapData and Matrix classes. Any doubt, just call again. Here is a simple example:
    var scale:Number = .5;
    var highQualitySourceImage:Bitmap = ...your image...;
    var scaleMatrix:Matrix = new Matrix();
         scaleMatrix.scale(scale, scale);
    var bitmapData:BitmapData = new BitmapData( scale*highQualitySourceImage.width, scale*highQualitySourceImage.height);
         bitmapData.draw(highQualitySourceImage, scaleMatrix);
    var finalBitmap:Bitmap = new Bitmap(bitmapData);
    addChild( finalBitmap );
    Cheers,
    CaioToOn!

  • Transferring images and videos from Nokia 5800 to ...

    Hello,
    I have been using Nokia PC Suite for years and now decided to jump onto OVI suite because the Nokia PC Suite was not able (mysteriously) to move picture and videos to my pc using USB cable. I gave up and started using OVI suite, which (how bizarre) can transfer images and videos to PC via cable connection with no problem.
    I was used to transfering and deleting all that stuff once copies were made to my PC... please correct me if I am wrong ... does OVI allow to do so automatically? I mean deleting the images and videos from the phone when transfer completed? Now my phone's memory and external card are full and I am not sure what I should do.
    Thank you in advance for the help.
    Cheers.

    JESZ wrote:
    You know I have being facing the same problems, first when I installed the first version, and is quit the same with the new version of ovi suite.  in a 14 G memory card with more than 10 g of free space, the ovi suite do not want to transfer my music.  This is a mass!!!  I'm very disappointed.
    First of all..the Problems are not SAME but totally different..
    BTW how are you transferring the Music ? and is it showing any error / message ?
    You may try this..(if doing some other way though..). Open OVI Suite and select Music.. Goto File-->Add File to collection and select the file  (song) you want to transfer..It will now get displayed in the OVI Suite..Now, connect your phone to PC.. and simply Drag-and-Drop the dislayed file onto the Phone Icon (Bottom - Left Window..) .. 
    --------------------------------------------------​--------------------------------------------------------​--------------------------------------------------​--If you find this helpful, pl. hit the White Star in Green Box...

Maybe you are looking for

  • E902: package could not be installed. Error in installing application

    Hi All, we try to deploy our first application(IPPhoneServicesTutorial) we do it using designer 2.4.2.009 on application server cuae 2.4.2.009, and we get the following error: E902: package could not be installed. Error in installing application we c

  • Calling standard quality notification workflow from portal

    Hi I have front end screen designed in webdynpro, which is for creating a CAPA request in QM. This creates a quality notificaiton in the system.  When this notification is created, the standard workflow would be called and the recipient wold get a wo

  • Image palcement JS

    Hi folks I have one old script and it was working very fine for InDesign CS2. I am learning JavaScript, and I want to convert it in JavaScript. Can any one help me out. =============== tell application "Adobe InDesign CS3" tell document 1 set baselin

  • How to remove all columns and cells in numbers

    how to remove all columns and cells in numbers

  • Text direction button in indesign 6 seems to be missing

    Have been googling how to use arabic text in InDesign 6. I need to create a brochure with text in both Arabic and English. Found section on Adobe World-Ready Paragraph composer - but then when going to set the text direction as in the tutorial - the