Example #1
0
 SiftNodeType()
     : SiftFeatureDetectorNodeType()
 {
     // Just add one more output socket
     clearOutputs();
     addOutput("Keypoints", ENodeFlowDataType::Keypoints);
     addOutput("Descriptors", ENodeFlowDataType::Array);
     setDescription("Extracts keypoints and computes descriptors using "
         "the Scale Invariant Feature Transform (SIFT) algorithm.");
 }
Example #2
0
void SilenceRate::configure() {
  _thresholds = parameter("thresholds").toVectorReal();

  clearOutputs();
  for (int i=0; i<int(_thresholds.size()); ++i) {
    _outputs.push_back(new Source<Real>());
    ostringstream outputName;
    outputName << "threshold_" << i;
    ostringstream thresholdIndex;
    thresholdIndex << i;
    declareOutput(*_outputs.back(), 1, outputName.str(),
                  "the silence rate for threshold #" + thresholdIndex.str());
  }
}
Example #3
0
 ~DynamicProperty()
 {
     clearInputs();
     clearOutputs();
 }
Example #4
0
OutputSet::~OutputSet()
{
    mCond.wakeAll();
    //delete? may be deleted by vo's parent
    clearOutputs();
}