![]() |
Vision Targeting: Dilate
Is there an equivalent of the openCv structure element "dilate" in Java's version of NIVision?
|
Re: Vision Targeting: Dilate
The Dilate is an input to Morphology function.
Specifically, the imaqMorphology function or the imaqGrayMorphology function if the image is still grayscale will take in a method that can be dilate. I don't know if that is wrapped for Java. Greg McKaskle |
Re: Vision Targeting: Dilate
Anyone? We need it to detect hot goals
E/ i found this in NIVision.java Code:
//============================================================================I'm going to see if i can rewrap this E/ my copy of windriver has no license -_- E/ found them here http://zone.ni.com/reference/en-XX/h...raymorphology/ E/ for open sourcing purposes, here is NIVision.dilate(). If anyone knows how to remove the while loop and convert the 0 into a [count][count], LMK. If you want to use this, you have to rebuild the wpi libraries and add this in image/NIVision.java Code:
private static final int FN_DILATE = 2; |
| All times are GMT -5. The time now is 11:42. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi