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
edgeDetection Class Reference

#include <edgeDetection.h>

Inheritance diagram for edgeDetection:
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

int threshold = 0
 
int sliderThreshold = 100
 

Additional Inherited Members

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

Detailed Description

Image processing class to apply edge detection/enhancement. Detected edges are overlayed on the video stream in the form of white lines to enhance their visibility.

Member Function Documentation

◆ getParamLabel()

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

Implements imageProcessor.

◆ receiveFrame()

void edgeDetection::receiveFrame ( frame  newFrame)
virtual

Recieves new frames for processing via callback.

Implements imageProcessor.

◆ updateSettings()

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

Implemented from ImageProcessor. Updates settings based on metadata.

Parameters
metadatastandard map of strings containing metadata

Implements imageProcessor.

◆ updateThreshold()

void edgeDetection::updateThreshold ( int  value)

Updates edge detection threshold value for processing method.

Parameters
valueGUI slider value which is scaled to give correct mapping to threshold.

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