This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
long cPRFCluster::getDifference(string seq, int pos_start, int pos_end, char symbol) { | |
long i, n = 0; | |
for (i=pos_start; i<=pos_end; i++) { | |
if (seq[i]==symbol) n++; | |
} | |
if (symbol == 'S') | |
return n; | |
else if (symbol == 'R') | |
{ | |
for (long i = 0; i < Recurrents.size(); i++) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <opencv2/opencv.hpp> | |
#include <opencv2/highgui/highgui.hpp> | |
#include <opencv2/features2d/features2d.hpp> | |
#include <opencv2/nonfree/nonfree.hpp> | |
#include <opencv2/nonfree/features2d.hpp> | |
#include "opencv2/legacy/legacy.hpp" | |
#include "opencv2/legacy/compat.hpp" | |
#include <ctype.h> | |
#include <stdio.h> |