ROIElement: Remove toString()
This commit is contained in:
@@ -205,7 +205,6 @@ void JFJochReaderImage::CalcROI(const ROIElement *input) {
|
||||
std::unique_lock ul(roi_mutex);
|
||||
|
||||
if (!input) {
|
||||
roi_description = "";
|
||||
roi = {};
|
||||
return;
|
||||
}
|
||||
@@ -230,7 +229,6 @@ void JFJochReaderImage::CalcROI(const ROIElement *input) {
|
||||
}
|
||||
}
|
||||
}
|
||||
roi_description = input->toString();
|
||||
|
||||
roi = ROIMessage{
|
||||
.sum = roi_val,
|
||||
@@ -280,7 +278,3 @@ std::shared_ptr<JFJochReaderDataset> JFJochReaderImage::CreateMutableDataset() {
|
||||
int32_t JFJochReaderImage::GetAutoContrastValue() const {
|
||||
return auto_foreground;
|
||||
}
|
||||
|
||||
std::string JFJochReaderImage::GetROIDescription() const {
|
||||
return roi_description;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@ class JFJochReaderImage {
|
||||
std::unordered_set<int64_t> saturated_pixel;
|
||||
std::unordered_set<int64_t> error_pixel;
|
||||
std::vector<std::pair<int32_t, int32_t>> valid_pixel;
|
||||
std::string roi_description;
|
||||
std::optional<ROIMessage> roi;
|
||||
mutable std::mutex roi_mutex;
|
||||
|
||||
@@ -50,7 +49,6 @@ public:
|
||||
const JFJochReaderDataset &Dataset() const;
|
||||
|
||||
const std::optional<ROIMessage> &GetROI() const;
|
||||
std::string GetROIDescription() const;
|
||||
|
||||
void AddImage(const JFJochReaderImage& other);
|
||||
std::vector<float> GetAzInt1D() const;
|
||||
|
||||
Reference in New Issue
Block a user