ImagePreprocessor: Dedicated class to handle preprocessing of diffraction images in Receiver Lite workflow + remove ROI calculation in Lite workflow
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
// 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;
|
||||
};
|
||||
Reference in New Issue
Block a user