Skip to content

Conversation

@HastingsGreer
Copy link

No description provided.

Copy link
Collaborator

@thewtex thewtex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 a few inline comments

@HastingsGreer
Copy link
Author

This implementation leads to the data being copied an extra two times, to convert the b-mode data from a ManagedBuffer to a NativeBuffer in NewImageHandler::HandleNewImage (line 134) and back from a NativeBuffer to a ManagedBuffer in ContainerImpl::Build2D (line 341). Is this a performance concern?

Build2D is used to undistort the output of a curved probe.
@HastingsGreer HastingsGreer changed the title WIP: wrap ImageBuilding::Build2 ENH: Wrap ImageBuilding::Build2D Feb 26, 2019
Copy link
Collaborator

@thewtex thewtex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes -- for performance, itk::ResampleImageFilter should be used instead of this function ;-).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants