Results 1 to 2 of 2

Thread: Scale Video Within ActiveX Control in LabVIEW

  1. #1
    Join Date
    Mar 2017
    Posts
    1

    Scale Video Within ActiveX Control in LabVIEW

    Hello,

    I am trying to scale the video of my DFM 42BUC03 within the ActiveX control in LabVIEW. I am trying to capture images and display video at a resolution of 1280x960, however, the ActiveX control can only have a width of 550 pixels as it is part of a pre-existing GUI. Because of this, the majority of the imaged area is cropped out, aside from the mask formed by the ActiveX control. I have found that I can add scroll bars to the control so that the entire image is, in theory, visible, however, this is a sub-par solution. I would really like to have a scaled down version of the full resolution image shown on the video, but when I capture an image, have it be the full 1290x960 resolution.

    Does anyone have a suggestion for this problem?

    Thanks,

    Eric

  2. #2
    Join Date
    Jan 2003
    Location
    Bremen, Germany
    Posts
    4,853

    Re: Scale Video Within ActiveX Control in LabVIEW

    You can resize the live display to the size of the control. Please refer to

    https://www.theimagingsource.com/sup...layDefault.htm
    https://www.theimagingsource.com/sup...splayWidth.htm
    https://www.theimagingsource.com/sup...playHeight.htm

    First you set the property LiveDisplayDefault to false, then you set livedisplaywidth to ic.width or a fixed value and livdisplayheight to ic.height or another fixed value. Keep in mind, the ratio of width and height can be changed by this, so the image looks distorted.
    Best regards
    Stefan
    IC Imaging Control Support

Similar Threads

  1. Scale bar using LabVIEW?
    By paull in forum IC Imaging Control ActiveX
    Replies: 1
    Last Post: June 28, 2012, 08:59:33
  2. Help with ActiveX Labview
    By CarlSmith in forum IC Imaging Control ActiveX
    Replies: 7
    Last Post: August 11, 2011, 15:52:53
  3. DCAM camera with ActiveX in Labview
    By Unregistered in forum IC Imaging Control ActiveX
    Replies: 1
    Last Post: March 6, 2006, 14:34:03
  4. How to add an activeX control in a dll?
    By Unregistered in forum IC Imaging Control ActiveX
    Replies: 1
    Last Post: August 14, 2003, 13:14:03
  5. Accessing various cameras using the IC ActiveX control in LabVIEW
    By dataflow in forum IC Imaging Control ActiveX
    Replies: 6
    Last Post: June 20, 2003, 13:44:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •