fbgsense 0.1
Generic FBG spectrum analysis tool
segmentation_method.h
1/*
2 * This file is a part of the project "fbgsense", which is released under MIT license.
3 * Copyright (c) 2022 Daniel Múčka, Masaryk University, Faculty of Informatics
4 * See file LICENSE or visit https://opensource.org/licenses/MIT for full license details.
5 */
6
7#pragma once
8
9#include "../processor.h"
10#include "../spectrum_types.h"
11#include "../spectrum/spectrum_state.h"
12
13namespace fbgsense::segmentation
14{
15 class segmentation_method : public processor<segmentation_method>
16 {
17 public:
18 virtual std::vector<region_t> perform(spectrum_state spect, std::initializer_list<parameter_t> params) = 0;
19
20 virtual ~segmentation_method() = default;
21 };
22}
Definition: segmentation_method.h:16
Provides support for custom computation implementations.
Definition: processor.h:17
Data structure reflecting spectrum's current state. Used in processors.
Definition: spectrum_state.h:19