pulsatrix
Loading...
Searching...
No Matches
pulsatrix::HorizontalFlipTransform Class Reference

Mirrors the image left-right. In-place, no backend needed (same shape). More...

#include <image_transforms.hpp>

Inheritance diagram for pulsatrix::HorizontalFlipTransform:
Collaboration diagram for pulsatrix::HorizontalFlipTransform:

Public Member Functions

Sample apply (Sample sample) const override
 Applies this transform to a sample.
 
- Public Member Functions inherited from pulsatrix::Transform
virtual ~Transform ()=default
 

Detailed Description

Mirrors the image left-right. In-place, no backend needed (same shape).

Member Function Documentation

◆ apply()

Sample pulsatrix::HorizontalFlipTransform::apply ( Sample  sample) const
overridevirtual

Applies this transform to a sample.

Parameters
sampleInput sample.
Returns
The transformed sample.

Implements pulsatrix::Transform.


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