CCIMXDesktop
 
Loading...
Searching...
No Matches
ImageResultDisplayer Class Reference

The ImageResultDisplayer class provides a QWidget-based UI component for displaying a pair of images: the original (raw) and the processed result. More...

#include <ImageResultDisplayer.h>

Inheritance diagram for ImageResultDisplayer:

Public Slots

void setRawImage (const QImage &image)
 Sets the raw image to be displayed.
 
void setProcessedImage (const QImage &image)
 Sets the processed image to be displayed.
 

Public Member Functions

 ImageResultDisplayer (QWidget *parent=nullptr)
 Constructs an ImageResultDisplayer with an optional parent.
 
 ~ImageResultDisplayer ()
 Destructor for ImageResultDisplayer.
 
ImageLabelrawImageLabel ()
 Returns the label widget displaying the raw/original image.
 
ImageLabelprocessedImageLabel ()
 Returns the label widget displaying the processed image.
 

Detailed Description

The ImageResultDisplayer class provides a QWidget-based UI component for displaying a pair of images: the original (raw) and the processed result.

This widget is typically used in image processing applications to present a visual comparison between input and output stages.

Constructor & Destructor Documentation

◆ ImageResultDisplayer()

ImageResultDisplayer::ImageResultDisplayer ( QWidget *  parent = nullptr)
explicit

Constructs an ImageResultDisplayer with an optional parent.

Parameters
parentThe parent widget.

Member Function Documentation

◆ processedImageLabel()

ImageLabel * ImageResultDisplayer::processedImageLabel ( )

Returns the label widget displaying the processed image.

Returns
Pointer to the processed ImageLabel.

◆ rawImageLabel()

ImageLabel * ImageResultDisplayer::rawImageLabel ( )

Returns the label widget displaying the raw/original image.

Returns
Pointer to the raw ImageLabel.

◆ setProcessedImage

void ImageResultDisplayer::setProcessedImage ( const QImage &  image)
slot

Sets the processed image to be displayed.

Parameters
imageThe QImage representing the result of image processing.

◆ setRawImage

void ImageResultDisplayer::setRawImage ( const QImage &  image)
slot

Sets the raw image to be displayed.

Parameters
imageThe QImage representing the original input image.

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