cellUview 1.0.0
A real-time image processing and analysis suite for digital microscopy.
Loading...
Searching...
No Matches
contrastEnhancement.h
1
2#ifndef CELLUVIEW_CONTRAST_ENHANCEMENT_H
3#define CELLUVIEW_CONTRAST_ENHANCEMENT_H
4
5
6#include <opencv2/core.hpp>
7#include <opencv2/videoio.hpp>
8#include <iostream>
9#include <stdlib.h>
10#include <thread>
11#include "imageProcessor.h"
12
13
18
19
20public:
21 contrastEnhancement() = default;
22 float threshold= 0;
23 float sliderThreshold = 10; //slider threshold used for metadata purposes
24 void receiveFrame(frame newFrame);
25 void updateThreshold(int value);
26 void updateSettings(std::map<std::string, std::string>);
30 std::string getParamLabel(){return paramLabel;};
31private:
32 //add any other methods here
33 void contrastEnhance(frame); //contrast enhancement
34 std::string paramLabel = "contrastThreshold";
35
36};
37#endif // CELLUVIEW_CONTRAST_ENHANCEMENT_H
38
Definition: contrastEnhancement.h:17
std::string getParamLabel()
Definition: contrastEnhancement.h:30
void receiveFrame(frame newFrame)
Definition: contrastEnhancement.cpp:15
void updateThreshold(int value)
Definition: contrastEnhancement.cpp:65
void updateSettings(std::map< std::string, std::string >)
Definition: contrastEnhancement.cpp:75
Definition: frame.h:20
Definition: imageProcessor.h:15