Files
Jungfraujoch/image_analysis/image_preprocessing/ImagePreprocessorCPU.h
T

25 lines
879 B
C++

// SPDX-FileCopyrightText: 2024 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
// SPDX-License-Identifier: GPL-3.0-only
#pragma once
#include <vector>
#include "ImagePreprocessor.h"
#include "../common/JFJochMessages.h"
#include "../common/DiffractionExperiment.h"
#include "../common/AzimuthalIntegration.h"
#include "../common/PixelMask.h"
#include "../common/AzimuthalIntegrationProfile.h"
class ImagePreprocessorCPU : public ImagePreprocessor {
template <class T>
ImageStatistics Analyze(const uint8_t *input, T err_value, T sat_value);
public:
ImagePreprocessorCPU(const DiffractionExperiment &in_experiment,
const AzimuthalIntegration &in_integration,
const PixelMask &in_mask);
ImageStatistics Analyze(const uint8_t *decompressed_image, CompressedImageMode image_mode) override;
};