View Single Post
  #2   Spotlight this post!  
Unread 06-02-2016, 21:59
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Running a custom deinterlacng program on the driver station

Do you want to mod the images on the stream? Separating them, for example, into evens and odds to display into two different displays.

Or do you truly mean that you want to take even and odd lines in an single image and merge or separate them.

I sorta assume the first, in which case, you can have take the i terminal in the while loop that is getting the images and use the Integer Divide and Remainder to divide by 2. This is the % equivalent in LV. Use the remainder of 0 or 1 wired to a case statement to display into the correct image display.

Greg McKaskle