1 | initial version |
both mean
and sigma
are actually simple Scalars, not images. in the case of your Hog features, only a single channel is used, so, -- there won't be much to see, if you concat those to another Mat.
2 | No.2 Revision |
both mean
and sigma
are actually simple Scalars, not images. in the case of your Hog features, only a single channel is used, so, -- there won't be much to see, if you concat those to another Mat.
you could try to print them out on console, like:
cout << "mean " << mean << " sigma " << sigma << endl;
3 | No.3 Revision |
both mean
and sigma
are actually simple Scalars, not images. in the case of your Hog features, only a single channel is used, so, -- there won't be much to see, if you concat those to another Mat.
you could try to print them out on console, like:
cout << "mean " << mean << " sigma " << sigma << endl;
then, your filestorage idea lacks the actual writing of the Hog features, which would be:
storage << "hogfeature" << HogFeature;
storage.release(); // nothing will happen, unless you actually flush/close it.
4 | No.4 Revision |
both mean
and sigma
are actually simple Scalars, not images. in the case of your Hog features, only a single channel is used, so, -- there won't be much to see, if you concat those to another Mat.
you could try to print them out on console, like:
cout << "mean " << mean << " sigma " << sigma << endl;
then, your filestorage idea lacks the actual writing of the Hog features, which would be:
storage << "hogfeature" << HogFeature;
HogFeat;
storage.release(); // nothing will happen, unless you actually flush/close it.
5 | No.5 Revision |
both mean
and sigma
are actually simple Scalars, not images. in the case of your Hog features, only a single channel is used, so, -- there won't be much to see, if you concat those to another Mat.
you could try to print them out on console, like:
cout << "mean " << mean << " sigma " << sigma << endl;
then, your filestorage idea lacks the actual writing of the Hog features, which would be:
storage << "hogfeature" << HogFeat;
HogFeat; // basically - it's a key-value store.
storage.release(); // nothing will happen, unless you actually flush/close it.