-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Images::getScalarData(std::uint32_t imageIndex, ...) overload for retrieving image scalar data in one operation #629
Add Images::getScalarData(std::uint32_t imageIndex, ...) overload for retrieving image scalar data in one operation #629
Conversation
…retrieve image in one operation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getScalarData is overloaded with a vector of dimensionIndices which can be used to retrieve all the colour components which is not done in the original getScalarData . However this function name and signature (and the documentation) doesn't really make it clear that colour components. Or maybe I'm missing something...
Should the name of the comments be changed? I'm open to being convinced otherwise.
Did you notice the addition of |
Yes I noticed void Images::getImageScalarData(...) and it uses this new getScalarData overload. I'm happy with that function. But my comment is about the getScalarData overload itself. That does something that I think is radically different from the original version because of the way image components are handled. In my opinion this isn't clear because it is an overload so the name is the same and there is no mention of special component handling in the comments. But am I either over-complicating or misinterpreting things? |
…retrieve image in one operation
…://github.com/ManiVaultStudio/core into feature/add_images_get_scalar_data_overloaded
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Image retrieval tested with JupyterPlugin
No description provided.