We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
should have a way to create a copy of an image to allow destructive scaling without modifying the original
The text was updated successfully, but these errors were encountered:
maybe too add a constructor for copying values from an existing image
Sorry, something went wrong.
This is getting the job done for now
private static SciTIF.Image Copy(this SciTIF.Image source) { double[] values = new double[source.Values.Length]; Array.Copy(source.Values, values, source.Values.Length); return new SciTIF.Image(source.Width, source.Height, values); }
No branches or pull requests
should have a way to create a copy of an image to allow destructive scaling without modifying the original
The text was updated successfully, but these errors were encountered: