You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

OV_setFeatureVectorInputHeader.m 569B

123456789101112131415161718
  1. % OV_MATLAB toolkit
  2. % OV_setFeatureVectorInputHeader.m
  3. % -------------------------------
  4. % Author : Laurent Bonnet (INRIA)
  5. % Date : 28/07/2011
  6. % Set the header information on a Feature Vector input.
  7. function box_out = OV_setFeatureVectorInputHeader(box_in, input_index, nb_features, labels)
  8. box_in.inputs{input_index}.header.type = 'Feature Vector Stream';
  9. box_in.inputs{input_index}.header.nb_features = nb_features;
  10. box_in.inputs{input_index}.header.labels = labels;
  11. box_in.inputs{input_index}.buffer = {};
  12. box_out = box_in;
  13. end