2015-09-24 20:26:49 -04:00
|
|
|
/*----------------------------------------------------------------------------*/
|
2016-01-02 03:02:34 -08:00
|
|
|
/* Copyright (c) FIRST 2014-2016. All Rights Reserved. */
|
2015-09-24 20:26:49 -04:00
|
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
2016-01-02 03:02:34 -08:00
|
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
|
|
|
/* the project. */
|
2015-09-24 20:26:49 -04:00
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
2016-05-25 22:38:11 -07:00
|
|
|
#include "ImageBase.h"
|
|
|
|
|
|
2015-09-24 20:26:49 -04:00
|
|
|
class MonoImage : public ImageBase {
|
|
|
|
|
public:
|
|
|
|
|
MonoImage();
|
|
|
|
|
virtual ~MonoImage() = default;
|
|
|
|
|
|
2016-05-20 17:30:37 -07:00
|
|
|
std::vector<EllipseMatch>* DetectEllipses(
|
|
|
|
|
EllipseDescriptor* ellipseDescriptor, CurveOptions* curveOptions,
|
|
|
|
|
ShapeDetectionOptions* shapeDetectionOptions, ROI* roi);
|
|
|
|
|
std::vector<EllipseMatch>* DetectEllipses(
|
|
|
|
|
EllipseDescriptor* ellipseDescriptor);
|
2015-09-24 20:26:49 -04:00
|
|
|
};
|