Skip to content

Commit 3235ab8

Browse files
committed
ENH: Set RF Spacing based on frame rate
1 parent 0f09925 commit 3235ab8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/AcquireIntersonArrayRF.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ int main( int argc, char * argv[] )
155155
ImageType::SpacingType imageSpacing;
156156
imageSpacing[ 0 ] = sos / ( 2 * fs );
157157
imageSpacing[ 1 ] = 38.0 / ( height_lines - 1 );
158-
imageSpacing[ 2 ] = 1;
158+
const short frameRate = hwControls.GetProbeFrameRate();
159+
imageSpacing[ 2 ] = 1.0 / frameRate;
159160
image->SetSpacing( imageSpacing );
160161
ImageType::DirectionType direction;
161162
direction.SetIdentity();

0 commit comments

Comments
 (0)