1 | initial version |
I would recomend using YML rather txt, because YML will be much easier to access afterwards.
To write in yml file your keypoints and descriptrors use his:
fileString = "keypoints.yml"; cv::FileStorage fs(fileCountString, cv::FileStorage::WRITE);
write(fs,"keyPointsSURF", keypointsSURF);
write(fs,"descriptorsSURF", descriptorsSURF);
fs.release()
2 | Accidently clicked the submit button :) |
I would recomend recommend using YML rather txt, because YML will be much easier to access afterwards.
To write in yml file your keypoints and descriptrors descriptors use his:
fileString = "keypoints.yml";
cv::FileStorage fs(fileCountString, To access the data as I mentioned above, is very simple:
fs.open("keypoints.yml", FileStorage::READ);
if(fs.isOpened())
{
read(fs["descriptorsSURF"], descriptorsSURF);
read(fs["keyPointsSURF"], keypointsSURF);
}
The read command can be swapped with this too, I personally prefer the "read" method:
fs["descriptorsSURF"] >> descriptorsSURF;
fs["keyPointsSURF"] >> keypointsSURF;
3 | No.3 Revision |
I would recommend using YML rather txt, because YML will be much easier to access afterwards.
To write in yml file your keypoints and descriptors use his:
fileString = "keypoints.yml";
cv::FileStorage fs(fileCountString, cv::FileStorage::WRITE);
write(fs,"keyPointsSURF", keypointsSURF);
write(fs,"descriptorsSURF", descriptorsSURF);
fs.release()
To access the data as I mentioned above, is very simple:
fs.open("keypoints.yml", FileStorage::READ);
if(fs.isOpened())
{
read(fs["descriptorsSURF"], descriptorsSURF);
read(fs["keyPointsSURF"], keypointsSURF);
} }
The read command can be swapped with this too, I personally prefer the "read" method:
fs["descriptorsSURF"] >> descriptorsSURF;
fs["keyPointsSURF"] >> 4 | No.4 Revision |
I would recommend using YML rather txt, because YML will be much easier to access afterwards.
To write in yml file your keypoints and descriptors use his:
fileString = "keypoints.yml";
cv::FileStorage fs(fileCountString, cv::FileStorage::WRITE);
write(fs,"keyPointsSURF", keypointsSURF);
write(fs,"descriptorsSURF", descriptorsSURF);
fs.release()
To access the data as I mentioned above, is very simple:
fs.open("keypoints.yml", FileStorage::READ);
if(fs.isOpened())
{
read(fs["descriptorsSURF"], descriptorsSURF);
read(fs["keyPointsSURF"], keypointsSURF);
}
The read command can be swapped with this too, I personally prefer the "read" method:
method:
fs["descriptorsSURF"] >> descriptorsSURF;
fs["keyPointsSURF"] >> keypointsSURF;keypointsSURF;
5 | No.5 Revision |
I would recommend using YML rather than txt, because YML will be much easier to access data afterwards.
To write in yml file your keypoints and descriptors use his:
fileString = "keypoints.yml";
cv::FileStorage fs(fileCountString, cv::FileStorage::WRITE);
write(fs,"keyPointsSURF", keypointsSURF);
write(fs,"descriptorsSURF", descriptorsSURF);
fs.release()
To It's very simnple to access the data as I mentioned above, is very simple:data:
fs.open("keypoints.yml", FileStorage::READ);
if(fs.isOpened())
{
read(fs["descriptorsSURF"], descriptorsSURF);
read(fs["keyPointsSURF"], keypointsSURF);
}
The read command can be swapped with this too, I personally prefer the "read" method:
fs["descriptorsSURF"] >> descriptorsSURF;
fs["keyPointsSURF"] >> keypointsSURF;
6 | spelling |
I would recommend using YML rather than txt, because with YML it will be much easier to access data afterwards.
To write in yml file your keypoints and descriptors use his:
fileString = "keypoints.yml";
cv::FileStorage fs(fileCountString, fs(fileString, cv::FileStorage::WRITE);
write(fs,"keyPointsSURF", keypointsSURF);
write(fs,"descriptorsSURF", descriptorsSURF);
fs.release()
It's very simnple to access the data:
fs.open("keypoints.yml", FileStorage::READ);
if(fs.isOpened())
{
read(fs["descriptorsSURF"], descriptorsSURF);
read(fs["keyPointsSURF"], keypointsSURF);
}
The read "read" command can be swapped with this too, I personally prefer the "read" method:
fs["descriptorsSURF"] >> descriptorsSURF;
fs["keyPointsSURF"] >> keypointsSURF;
7 | No.7 Revision |
I would recommend using YML rather than txt, because with YML it will be much easier to access data afterwards.
To write in yml file your keypoints and descriptors use his:
fileString = "keypoints.yml";
cv::FileStorage fs(fileString, cv::FileStorage::WRITE);
write(fs,"keyPointsSURF", keypointsSURF);
write(fs,"descriptorsSURF", descriptorsSURF);
fs.release()
It's very simnple to access the data:
fs.open("keypoints.yml", FileStorage::READ);
if(fs.isOpened())
{
read(fs["descriptorsSURF"], descriptorsSURF);
read(fs["keyPointsSURF"], keypointsSURF);
}
fs.release();
The "read" command can be swapped with this too, I personally prefer the "read" method:
fs["descriptorsSURF"] >> descriptorsSURF;
fs["keyPointsSURF"] >> keypointsSURF;
8 | No.8 Revision |
I would recommend using YML rather than txt, because with YML it will be much easier to access data afterwards.
To write in yml file your keypoints and descriptors use his:
fileString = "keypoints.yml";
cv::FileStorage fs(fileString, cv::FileStorage::WRITE);
write(fs,"keyPointsSURF", keypointsSURF);
write(fs,"descriptorsSURF", descriptorsSURF);
fs.release()
It's very simnple to access the data:
fs.open("keypoints.yml", FileStorage::READ);
if(fs.isOpened())
{
read(fs["descriptorsSURF"], descriptorsSURF);
read(fs["keyPointsSURF"], keypointsSURF);
}
}
fs.release();
fs.release();
The "read" command can be swapped with this too, I personally prefer the "read" method:
fs["descriptorsSURF"] >> descriptorsSURF;
fs["keyPointsSURF"] >> keypointsSURF;
9 | spelling again, I guess bad day for me |
I would recommend using YML rather than txt, because with YML it will be much easier to access data afterwards.
To write in yml file your keypoints and descriptors use his:this:
fileString = "keypoints.yml";
cv::FileStorage fs(fileString, cv::FileStorage::WRITE);
write(fs,"keyPointsSURF", keypointsSURF);
write(fs,"descriptorsSURF", descriptorsSURF);
fs.release()
It's very simnple to access the data:
fs.open("keypoints.yml", FileStorage::READ);
if(fs.isOpened())
{
read(fs["descriptorsSURF"], descriptorsSURF);
read(fs["keyPointsSURF"], keypointsSURF);
}
fs.release();
The "read" command can be swapped with this too, I personally prefer the "read" method:
fs["descriptorsSURF"] >> descriptorsSURF;
fs["keyPointsSURF"] >> keypointsSURF;