Go to Post We are not the families of competiting robot teams, but we are a family of Gracious and Professionalism, because we know it better than anyone in the world. - wsansewjs [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-02-2012, 12:34
OB1 OB1 is offline
Registered User
FRC #2836
 
Join Date: Feb 2012
Location: Woodbury, CT
Posts: 2
OB1 is an unknown quantity at this point
NI Vision Assistant help

Hello. We are attempting to use NI Vision Assistant to generate code to be used in our java program. We were able to set the color range values, however, we do not know how to create the convex hull operation and finding the actual rectangles.
Thank you for your help.
  #2   Spotlight this post!  
Unread 12-02-2012, 14:14
Ziv Ziv is offline
Has code to be writing...
FRC #0125 (Nutrons)
Team Role: Alumni
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Boston
Posts: 39
Ziv is a glorious beacon of lightZiv is a glorious beacon of lightZiv is a glorious beacon of lightZiv is a glorious beacon of lightZiv is a glorious beacon of light
Re: NI Vision Assistant help

What we did—and what I assume you mean by "generate"—is tweak values using the NI vision assistant, then write equivalent code in Java. (Using the assistant to write C code and wrapping that for use in Java is very nontrivial.)

Have you installed the latest NetBeans FRC plugin updates? The most recent one ports several more NI Vision functions to Java, including particle filters and convex hull operations. Both of those are methods of the BinaryImage class.

With one of the plugin updates come new examples of how to use these new vision features in Java. The examples are also available on FIRST Forge. Several teams (including 125) post their code on GitHub, so if you're in need of inspiration there's plenty of material out there.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 00:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi