![]() |
ImFusion C++ SDK 4.5.0
|
#include <ImFusion/USImgFormation/CUDA/MapChannelsAndTranspose.h>
Changes the order of channels in input channel data to match those of the given target frameAcquisition and normalizes the channel data layout. More...
Changes the order of channels in input channel data to match those of the given target frameAcquisition and normalizes the channel data layout.
Public Member Functions | |
| MapChannelsAndTranspose (const FrameAcquisition &inputFrameAcquisition, const FrameAcquisition &targetFrameAcquisition) | |
| Constructor. | |
| std::unique_ptr< SharedImage > | mapAndTranspose (const SharedImage &input, ChannelDataLayout inputLayout) const |
| Maps the channels in the input data to the output data and normalizes the data layout. | |
|
explicit |
Constructor.
Extracts the required change in channel order from the input and target FrameAcquisitions.
Throws if the input and target FrameAcquisitions are not compatible - they may only differ in the order of the channels in the receive structures.
| std::unique_ptr< SharedImage > ImFusion::US::GPU::MapChannelsAndTranspose::mapAndTranspose | ( | const SharedImage & | input, |
| ChannelDataLayout | inputLayout ) const |
Maps the channels in the input data to the output data and normalizes the data layout.
The input data layout is specified by the inputLayout parameter. The output is always in the format [channels, fast-time, slow-time].