cellUview 1.0.0
A real-time image processing and analysis suite for digital microscopy.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
contrastEnhancement Class Reference

#include <contrastEnhancement.h>

Inheritance diagram for contrastEnhancement:
imageProcessor

Public Member Functions

void receiveFrame (frame newFrame)
 
void updateThreshold (int value)
 
void updateSettings (std::map< std::string, std::string >)
 
std::string getParamLabel ()
 
- Public Member Functions inherited from imageProcessor
virtual void receiveFrame (frame newFrame)=0
 
virtual void updateSettings (std::map< std::string, std::string >)=0
 
virtual std::string getParamLabel ()=0
 
void registerCallback (imageProcessor *cb)
 
bool toggleEnable ()
 
bool getEnabled ()
 

Public Attributes

float threshold = 0
 
float sliderThreshold = 10
 

Additional Inherited Members

- Protected Attributes inherited from imageProcessor
imageProcessorframeCb = nullptr
 
bool enabled = false
 

Detailed Description

Image processing class to boost contrast.

Member Function Documentation

◆ getParamLabel()

std::string contrastEnhancement::getParamLabel ( )
inlinevirtual
Returns
paramLabel, std::string containing metadata parameter

Implements imageProcessor.

◆ receiveFrame()

void contrastEnhancement::receiveFrame ( frame  newFrame)
virtual

Recieves new frames for processing via callback.

Implements imageProcessor.

◆ updateSettings()

void contrastEnhancement::updateSettings ( std::map< std::string, std::string >  metadata)
virtual

Implemented from ImageProcessor. Updates contrast settings based on metadata.

Parameters
metadatastandard map of strings containing metadata

Implements imageProcessor.

◆ updateThreshold()

void contrastEnhancement::updateThreshold ( int  value)

Updates contrast enhancements value for contrast enhancement method. Applies non-linearity to slider value.


The documentation for this class was generated from the following files: