Skip to content
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

ImageStack Class for loading, saving, and managing image stacks. #2165

Closed
wants to merge 1 commit into from

Conversation

ashmeigh
Copy link
Collaborator

Issue

Close or ref the associated ticket, e.g. Closes #84

Description

This pull request introduces the ImageStackManager and ImageStack classes to the operation tests. These classes provide a convenient and modular way to load, save, and manage image stacks.

Why It's Useful

  1. Abstraction of Image Stack Operations: The classes abstract away the complexities of working with image stacks, making it easier for developers to manipulate image data.

  2. Modularity and Reusability: Encapsulating image stack functionality into classes promotes modularity and reusability, allowing developers to easily reuse these classes across different parts of the project.

  3. Consistency and Standardization: The use of dedicated classes ensures consistency and standardization in image stack operations, leading to cleaner and more maintainable code.

  4. Enhanced Testing: The classes facilitate writing comprehensive test cases for image stack operations, improving testability and code reliability.

  5. Improved Documentation and Understanding: The addition of these classes enhances the documentation by providing clear explanations of image stack operations and their usage, improving overall project understanding.

Testing

Instantiate an ImageStack object with a file path to an image stack file and verify that it loads successfully.

Save an image stack using the save method of the ImageStack class and verify that it is saved correctly.

Use the ImageStackManager class to perform operations on image stacks, such as time measurements or comparison tests, and ensure accurate results.

Verify that the classes integrate properly with the existing codebase without causing conflicts or errors.

@ashmeigh ashmeigh marked this pull request as draft April 19, 2024 05:58
@ashmeigh ashmeigh closed this Apr 20, 2024
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.

Exiting the main window leaves histograms open
1 participant