ImFusion C++ SDK 4.5.0
ImFusion::US::GPU::MapChannelsAndTranspose Class Reference

#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...

Detailed Description

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< SharedImagemapAndTranspose (const SharedImage &input, ChannelDataLayout inputLayout) const
 Maps the channels in the input data to the output data and normalizes the data layout.

Constructor & Destructor Documentation

◆ MapChannelsAndTranspose()

ImFusion::US::GPU::MapChannelsAndTranspose::MapChannelsAndTranspose ( const FrameAcquisition & inputFrameAcquisition,
const FrameAcquisition & targetFrameAcquisition )
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.

Member Function Documentation

◆ mapAndTranspose()

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].


The documentation for this class was generated from the following file:
  • ImFusion/USImgFormation/CUDA/MapChannelsAndTranspose.h
Search Tab / S to search, Esc to close