Jump to content

jorwex

Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Everything posted by jorwex

  1. QUOTE (TobyD @ Aug 21 2008, 05:54 PM) Hehe sorry about that initial empty post! My finger slipped *Fixed*
  2. Hello all, I'm using an ActiveX object that I found ( http://www.shrinkwrapvb.com/videocap.htm ) to display a live image from an Epiphan VGA2USB device. It shows up as a TWAIN (I think that's the correct way to describe it) source if you go to My Computer in Windows. When I first tried to get it to work (All I did was put the video window in an ActiveX container) the colors were all screwy. I managed to get the built-in Windows capture parameter window to display (lets you select source's resolution and bit depth) at the beginning of the program execution. Once I changed it from the default (as its shown in the image above) to RGB24, everything looked the way it was supposed to. Is there a way to programmatically set this prior to execution? I'm not a programmer and I'm having difficulty deciding whether that's a task for the ActiveX object or if it's something I need to set in the OS. I immediately looked to the OCX file, but I think its a Windows setting now, but I don't know where to start. Thanks LAVA, Jordan
  3. Hey all, I was wondering if there was a simple way to save only the graph window for an intensity graph. If you use the Get Image method, it saves other things like the color ramp, the Graph label, etc..kinda like taking a screenshot of the area surrounding the graph instead of the graph itself. I've tried using Get Image and then Get Image Subset, but I'm either selecting the wrong area or selecting the wrong # of pixels or something, because it's not the correct resolution and doesn't quite look right. I'm taking a 640x480 image from a BMP, converting it to greyscale, and then saving the U8 converted greyscale data to both a pixmap and to a 2d array. Then I use the 2d array as the input for the intensity graph. The greyscale pixmap and the intensity map look very similar, but the intensity graph is a bit squished horizontally. If you right click the intensity map and go to properties and then the scales tab (im using labview 8.2--no size in the first tab like in 8.6), the y scale (width of the pic) says 650 instead of 640. If I try and change it to 640, it goes back to 650 as soon as I run the vi. It actually looks like those 10 extra pixels have been wrapped around from the left side of the image to the right, and then the whole 650 pixels have been squeezed to the space that 640 pixels occupy (interpolated?). Help!
  4. QUOTE (jorwex @ Aug 6 2008, 11:01 AM) EDIT 2: I figured it out. You have to click on the numbers on the scale. That's dumb I tried everything but the numbers, starting with the colored ramp itself. I'm sure there's a good reason for it that I haven't considered yet as a LabVIEW newbie. Thanks for your help.
  5. QUOTE (jorwex @ Aug 5 2008, 03:59 PM) Got it! Now all i have to take care of is the color mapping. Through all that right-click menu surfing, I couldn't find a way to get it to 0-255 greyscale.+ EDIT: I believe the answer that I'm looking for is the Marker Color option (found by right clicking an intensity graph's color ramp). However, it is greyed (grayed?) out and I cannot seem to make it clickable. Any suggestions?
  6. QUOTE (jdunham @ Aug 4 2008, 04:34 PM) Thanks. I played around with it and got it almost working: But I can't seem to figure out how to remove that grey border. On the Intensity graph that I keep referencing, it is invisible, and is a very thin border of the black area. How do I make it transparent?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.