View Single Post
  #1   Spotlight this post!  
Unread 10-02-2012, 09:43
dominique dominique is offline
Registered User
FTC #0211 (MK211)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Rochester,NY
Posts: 9
dominique is an unknown quantity at this point
Access to WPIImages and IPLImages

We are using SmartDashboard to view and process the images from the camera.

We have access to a WPIColorImage. Unfortunately, when we isolate the blue, red and green channel as per examples given, the detection of rectangles of a specific color (around the hoop) is erratic.

So I thougt of using HSL space to isolate specific colors but this can be done only from an IPLImage.

Paul indicated here a way to access the underneath IPLImage using a java wrapper.
http://www.chiefdelphi.com/forums/sh...ferrerid=46078
Now I have access to the IPLImage but my detection still does not work as expected - I need to see the IPLImage and check what I am doing. Anybody knows how to obtain the WPIImage from an IPLImage ? Thanks.
Reply With Quote