View Single Post
  #3   Spotlight this post!  
Unread 16-01-2010, 17:16
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Image Manipulation

Why do you just want the top 50px?

Although you can't mess with the Dashboard Image, you can crop images. I don't have the NI vision documentation with me, but it is something to the effect of
Code:
Image* orig=YourCameraImage;
Image* top50pxImg = imaqCreateImage(100,50);
imaqCrop(orig,top50pxImg,0,0,100,50)
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote