Live plotting of contour from camera acquisitio​n: best strategy ?

Hi every one,
I am trying to create a VI to acquire images from a camera (Basler scout). Among the features I need to implement, one is the live plotting of the contour of the gray scale values to enhance their visibility (I am then using it to tune a light source into a centered gaussian distribution).
My issue here is that the images are too big and the whole VI lags, with a new plot appearing every 3 to 5 seconds, which is too long. A constraint is that I must be able to record pictures with full resolution.
Enclosed are 2 easy examples, one using labview only and the other using Matlab to decimate the number of pixels, and a typical result. Both performs similarly, i.e. too slowly.
In the end, the conversion and decimation in matlab seems highly time consuming too... I am not a labview expert so I may have overlooked easier way to have it done but so far I really feel stuck...
So which direction should I follow? Matlab or Labview? What could I use in Labview to reduce the processing time?
Hope you can help me,
Best regards,
GL
Solved!
Go to Solution.
Attachments:
VIplot2.vi ‏49 KB
VIplot.vi ‏17 KB
example.jpg ‏36 KB

Stephan,
Here is a picture from the camera.
The camera is a Basler scout 1400 17gm with gige interface (http://www.baslerweb.com/en/products/area-scan-cam​eras/scout/sca1400-17gm), picturing at 1392x1040 pixels.
Hope it helps !
Best,
Gael
Attachments:
lamptest10.png ‏257 KB

Similar Messages

  • Where do the MEDIA FILES live after I import them from camera to iMovie (Mac Mini OS X 10.9.2)?  I need to MOVE MEDIA FILES to external hard drive.

    Where do the MEDIA FILES live after I import them from camera to iMovie (Mac Mini OS X 10.9.2)?  I need to MOVE MEDIA FILES to external hard drive.

    Hello bbryson68,
    Thanks for using Apple Support Communities.
    From your post I understand you're wanting to move iMovie project and event data to another drive.  I found the following information in the iMovie help that answers your question.
    Copy or move projects, events, or clips between libraries or storage devices
    Connect a storage device that contains the target library to your Mac, or copy the target library to your Mac.
    Choose File > Open Library, and choose an option from the submenu.You can choose from recently opened libraries, locate an existing library on your Mac, or create a new library.The selected library is opened in the Libraries list, with the first event selected and its contents displayed in the browser.
    In the Libraries list, select the event that contains the item you want to move or copy.
    In the browser, select the item you want to move or copy.Tip:  To select multiple clips or projects in the same library, hold down the Command key as you click the items you want to select, or drag a selection rectangle around the items.
    Do one of the following:
    To move items between events or libraries: Drag the clip or project to another event or library.
    To copy items between events or libraries: Option-drag the clip or project to another event or library by first starting to drag and then holding down the Option key as you drag.
    Work with multiple libraries
    http://help.apple.com/imovie/mac/10.0/#mov3fa25bae7
    Take care,
    Alex H.

  • Live video from Camera?

    Am I missing something or is there now a way to get live video-feed from camera via public API ?
    There seems to be an app on the store which does this. I recall it was only possible via undocumented API's - or has something changed lately?
    Thanks.

    No change to the SDK. Still not supposed to do this but the app store reviewers still don't know what the legal and development side of Apple allows.

  • Capture live from camera

    Hi guys,
    I was trying to capture some footage straight from camera but it won't let me do it when I pressed the capture now button. It kept on treating the log and capture as if its capturing from tape. It was asking for the camera to be turned into vtr mode. I have done this before but I can't remember what I've done differently to make it work.
    Any suggestion will be greatly appreaciated.
    Thanks guys.

    James M. wrote:
    You might have done it before, but never with final cut pro... try using Quicktime for live capture.
    James, you sure about that? I can capture live by setting the L&C window to a non-controllable device and hitting capture now. That way FCP is not looking for something like a VTR to control, it just accepts whatever signal is present on the FW bus.
    K

  • ROI in real view from camera

    Hello 
    Is a possibility to create  a  rectangle on live view from camera and set it to ROI ?? ( i need the break in program, when i select the rectangle the program should be continiued) . I used select rectangle or IMAQ construct ROI but both of them take a picture. I need to do this on live view . 
    Best Regards 

    Are you displaying the image in an Image Display Control? If so, you can display ROI tools (Right click on the control, then select Visible Items>>ROI Tools>>Visible).
    You can then select a tool and draw an ROI in the display control that shows live image.
    To access the ROI from the diagram, right click on the indicator of the image display control. Select Create>>Property Node>>ROI.
    Hope this helps.
    Christophe

  • Java cannot handle multiple live-plotting of graphs ??

    Hi guys,
    I am running some real-time simulation that deals with some rather heavy computationally intensive operations and generating some outputs at every time cycle. These data will be output to some data table and plots displayed on the screen
    The problem I face:
    It seems to me my current model of implementation is not solving the problem properly. Without the GUIs, my outputs are relatively accurate (basically, I am running some heuristic control using Jess) and stable. With all the live plotting and updating of the GUI components, the results starts to deviate from theoretical solutions. My guess is that the problem lies with the limited CPU time/power associated with one single VM ( not sure about this, just a wild guess).
    While I understanding the GUIs can consume a lot of CPU power while updating (especially if there are very many GUI components to repaint at every time step) JDK 1.4.x works much better than 1.3.x, as 1.4 has dramatically better Swing performance. I started with JDK 1.3 weeks ago and have recently moved to JDK 1.4 in hope of better performance. But it seems to me that that has not help much either.
    I was thinking if I can use multi threading techniques to improve this problem. That is, I get the live plotting operations and GUI components update to be done in a separate thread. Any ideas ??
    Many thanks for your time and attention.
    Regards
    David

    Even though the subject is different, it is still [url http://forum.java.sun.com/thread.jsp?thread=471856&forum=31]crossposting!

  • Is it Possible to Mark Chapter while capturing from camera?

    While capturing from camera there are incidents (like obvious mis-speaks, etc.)that I would like to mark during the shoot when they happen to facilitate finding them while editing.
    Is this possible to enter a chapter marker or something during live capture?
    Open to any other suggestions.
    Thank you.
    I am using FCP 7.0.3.

    After about a year of manually noting the time code and notes, I finally found a solution to the problem of marking chapters during a live shoot. 
    Final Cut Pro X will not allow you to mark a file while capturing it, probably because it does not actually change the raw file.  However I just found a piece of software that will do the trick nicely.  It is called Cut Notes.  The only catch is that you must have an iPad to run it.
    You can purchase it from digital rebellion for $9.99 at
    http://www.digitalrebellion.com/cutnotes/
    You start Cut Notes at the same time that you begin to capture, and it will start a timeline, identical to the one in FCP.  Then for every edit point, you simply tap a key to insert the timecode along with either a pre-determined note or manually entered note as to the event.  For example I have a note key that says MisSpeak, the opertator just taps it when I mis speak and it saves the time code and the MisSpeak title into a text file.   I have another note key same for "walked off screen." You can Edit any number of note keys you may need. Then when finished, Cut Notes will email the file to your computer, simply import it to FCP as chapters using a free utility available at the same website.  Awesome!!!
    The only caveat is that you must import the file with markers before you do any editing to the project in FCP.
    Hope this is helpful.
    jac

  • CS3 Multicam Multiple Audio tracks, only audio from Cam 1 plays

    In Premiere CS3 I have 4 Cam edit I have all tracks, video and audio on main timeline. I also have audio from a DAT recorder on a seperate audio track. Everything is sync'd. I created my multicam edit sequence and nested my edit sequence into it. How can I get the audio track from the DAT to work on the nested sequence? It seems that the only audio I hear is that from Camera 1. What I would like to have is the audio from camera 3 AND the DAT recording. It is a live music performance and I want the audio captured from the House mixer which is really clean but I would also like to have the audio from oner of the cameras for ambient house sound. You know, sing alongs, yelling and clapping. After all, it IS a IVE performance. Any suggestions?
    Greg

    Hi,
    See also my posting on the issue "Multicam is extrmely slow".
    In short:
    Make a timeline with all sources and sync them all, make sure everything is ok.
    Then make a copy of this timeline and disable all video except one (for reference). Name it "Sound"
    Move all soundtracks of your first timeline down to free soundtrack one.
    Drag the sound track of "Sound" to track 1 of the first timeline. Then go on with the normal method for multicam (new timeline "Target", drag Source on it and enable multicam)
    Any adjustmentsa needed in the sound can now be done in one place; Time line "Sound"
    For performance reasons it might me better to drag the sound track of "Sound" directly to "Target" and disable soundtrack 1 (from Source). Disadvantage then is that removing parts from this multicam timeline needs the same removal from the soundtrack (on 2).
    Hmmm, now I am writing this, can I unlink in Target the video and soundtrack and link soundtrack 2 to videotrack 1? Have to try that.

  • Premiere Pro: Capturing from Camera

    I'm unable to capture digital video directly from any camcorder.
    Adobe's documentation says I need a firewire connection(?!) for that. That can't be right.
    Apple, at least in the iMac, has eschewed firewire connections in favor of thunderbolt.
    Longtime software partner Adobe, issues state of the art software that only allows for obsolete hardware??
    I'm sure this has been asked before. Can anyone clue me in?
    I'm considering attempting a workaround:
    HDMI-to-Thunderbolt adapter. 
    Has anyone tried that?
    Any other workarounds?

    I may have misunderstood your intentions initially, thought you wanted to record "live" from camera to computer, as one might do in a studio situation. This can be very beneficial when shooting green screen footage for instance. Most camcorders use a LOT of compression when saving to in-camera media, along with weak 4:2:0 color, and by recording the live HDMI output using the Intensity or MXO2 device, allows you to record to a much higher-quality codec with intra-frame recording at high bitrates using 4:2:2 color, for improved keying results.
    As others said, copying SD card contents to computer hard drive is typically the best solution for most users these days. The HDMI capture devices I mentioned do not copy "data" as you mentioned, the way that Firewire or USB have worked in the past. Rather, you would PLAY the video in the camcorder, and the video coming out the HDMI port as "uncompressed video" is then captured to the format you specify. The video is being converted to something else, and is not simply a "data transfer".
    Thanks
    Jeff Pulera
    Safe Harbor Computers

  • In ADOBE BRIDGE CS6 "folder can not be created" appears when getting photos from camera

    Has anyone seen this when getting photos from camera in ADOBE BRIDGE CS6?
    "Folder cannot be created"

    I solved the problem myself.
    jwerth2

  • How to open images in Fill Screen mode from Camera Raw

    I am using Photoshop CS4 for Windows. I created an action that executes Fit on Screen and set the Scripts Event Manager to execute that action on the Open Document event. This works when opening a document from Photoshop.
    Here are my questions:
    1) After opening a raw image from Bridge in Camera Raw, when I then open the image in Photoshop, it does not run the Open Document event action to Fit on Screen. What event do I need to set the action to execute on when opening an image from Camera Raw in Photoshop?
    2) I added Fit on Screen to the action by selecting Insert Menu Item from the Actions menu and then selecting View-Fit on Screen. I cannot find Fill Screen on any pull-down menu (the button found on the Hand tool bar). How can I insert the Fill Screen item (which fills the screen a little more than Fit on Screen?
    3) In the Scripts Events Manager, when you select Add an Event, it says Any scriptable event can be entered here. See the Scripting Reference for the full list of Photoshop event names.. On the following Adobe webpage, I found the Adobe Photoshop CS4 Scripting Guide but I did not find a list of Photoshop event names in that document. Where can I find the list of Photoshop event names?
    http://www.adobe.com/devnet/photoshop/scripting
    Thanks to anyone who can help me out.

    > 3) In the Scripts Events Manager, when you select Add an Event, it says Any scriptable event can be entered here. See the Scripting Reference for the full list of Photoshop event names.. On the following Adobe webpage, I found the Adobe Photoshop CS4 Scripting Guide but I did not find a list of Photoshop event names in that document. Where can I find the list of Photoshop event names?
    >
    >
    >
    See "Appendix A: Event ID Codes" in the PSCS4 JavaScript Reference pdf file that
    comes with PSCS4.
    -X

  • I can't send photos from camera roll iphone4 to a email address. It just stopped sending photos.

    i can't send photos from camera roll iphone4 to a email address. It just stopped sending photos.

    iPhoto Menu -> Preferences -> Accounts ->
    Delete and recreate your email settings.
    It's only difficult if you get all emotional over tiny things and don't stop to look for answers first. I find Macs very simple to use.

  • Emailing multiple photos from camera roll

    Search threads but didn't find. Can multiple photos from camera roll be sent in an email on the iPhone 4

    In round about way yes.
    Go to photos.
    In thumbnail view click menu item (think moved to top right in iOS4) to enable multiselect.
    Select photos (up to 5 ... sorta) and then you can click share.
    The sorta part is that if you do more than 5 the share will go away, but you can still select more, then choose copy, then go open email and paste in more than 5.

  • Can't send photos directly from camera roll to whatapps

    Ive to go to whatapps and select the photos from camera roll to send?

    One never knows.
    Apple can disappoint and surprise all at the same time.
    The best thing we can all do is to send feedback.
    http://www.apple.com/feedback
    It works.

  • I deleted some videos from camera roll but they still appear in the videos folder

    I removed some videos from my 4s to my computer but they still appear in a file called videos on my phone.  The file Videos doesn't show up on my computer when I plug my phone in to the USB.  How can I see this file on my computer when my phone is plugged in?

    The "Photos section" within the Photos app is just a view of your Photo Stream, organized by dates and locations.  You can see the exact same content by looking at "My Photo Stream" within the Albums section of the Photos app.
    So, deleting things from Camera Roll will have no effect on Photo Stream nor the "Photos" section of the app, except for pictures in Camera Roll which may not have been uploaded to Photo Stream yet.

Maybe you are looking for