本文整理汇总了Java中com.ni.vision.NIVision.ParticleFilterOptions2方法的典型用法代码示例。如果您正苦于以下问题:Java NIVision.ParticleFilterOptions2方法的具体用法?Java NIVision.ParticleFilterOptions2怎么用?Java NIVision.ParticleFilterOptions2使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.ni.vision.NIVision
的用法示例。
在下文中一共展示了NIVision.ParticleFilterOptions2方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: operate
import com.ni.vision.NIVision; //导入方法依赖的package包/类
@Override
public Image operate (Image Source)
{
Image Destination = null;
final NIVision.ParticleFilterOptions2 filterOptions = new NIVision.ParticleFilterOptions2(
0, 0, 0, 0);
NIVision.imaqParticleFilter4(Destination, Source,
this.criteriaArray,
filterOptions, null);
Source.free();
return Destination;
}
示例2: operate
import com.ni.vision.NIVision; //导入方法依赖的package包/类
@Override
public Image operate (Image Source)
{
final NIVision.ParticleFilterOptions2 filterOptions =
new NIVision.ParticleFilterOptions2(0, 0, 0, 0);
NIVision.imaqParticleFilter4(Source, Source, this.criteriaArray,
filterOptions, null);
return Source;
}
示例3: particleFilter
import com.ni.vision.NIVision; //导入方法依赖的package包/类
public BinaryImage particleFilter(NIVision.ParticleFilterCriteria2[] criteria)
throws NIVisionException {
BinaryImage result = new BinaryImage();
NIVision.ParticleFilterOptions2 options = new NIVision.ParticleFilterOptions2(0, 0, 0, 1);
NIVision.imaqParticleFilter4(result.image, image, criteria, options, null);
options.free();
return result;
}