ImFusion C++ SDK 4.5.0
ImFusion::US::ProcessUltrasoundParameters Struct Reference

#include <ImFusion/US/ProcessUltrasound.h>

Parameters controlling how ProcessUltrasound transforms each ultrasound frame. More...

Detailed Description

Parameters controlling how ProcessUltrasound transforms each ultrasound frame.

The options can be combined to update the physical spacing from the acquisition depth, crop the image to the US::FrameGeometry bounds, apply a fan mask, remove Doppler color information, and inpaint removed color pixels. extraCrop is only used when applyCrop is enabled and defines additional margins around the current US::FrameGeometry crop area.

Extra cropping margins
See also

Public Member Functions

bool operator== (const ProcessUltrasoundParameters &other)

Public Attributes

bool applyCrop = false
 If true, crop the image to the current frame geometry bounds.
bool applyMask = false
 If true, mask pixels outside the current frame geometry.
bool applyDepth = false
 If true, update the processed image spacing from depth and the current frame geometry depth.
double depth = 0.0
 Current imaging depth as reported by the device, in millimeters.
int removeColorThreshold = 0
 Doppler color removal threshold. Values greater than zero enable color pixel removal using ExtractDoppler.
bool inpaint = false
 If true and applyMask is enabled, inpaint pixels removed by Doppler color removal before applying the fan mask.
vec4i extraCrop = vec4i::Zero()
 Extra crop margins in pixels, ordered as left, right, top, and bottom.
bool extraCropAbsolute = false
 If true, extraCrop margins are relative to the original image, otherwise they are applied on top of the fan crop.

The documentation for this struct was generated from the following file:
  • ImFusion/US/ProcessUltrasound.h
Search Tab / S to search, Esc to close