修改文件换行符,修正轮班图元长度计算问题

This commit is contained in:
2026-08-19 11:55:10 +08:00
parent 176b53b654
commit a274b75705
116 changed files with 68711 additions and 68660 deletions
+24 -24
View File
@@ -1,24 +1,24 @@
#ifndef CBINARIZATION_H
#define CBINARIZATION_H
#include <QImage>
#include <QColor>
using namespace std;
class CBinarization
{
public:
CBinarization(QString imgPath);
QImage* grayScaleImg();
int Otsu(QImage* img);
QImage* process(QImage* img);
int threshold;
private:
QImage* _img;
vector<int> Histogram(QImage* img);
};
#endif
#ifndef CBINARIZATION_H
#define CBINARIZATION_H
#include <QImage>
#include <QColor>
using namespace std;
class CBinarization
{
public:
CBinarization(QString imgPath);
QImage* grayScaleImg();
int Otsu(QImage* img);
QImage* process(QImage* img);
int threshold;
private:
QImage* _img;
vector<int> Histogram(QImage* img);
};
#endif