-
Notifications
You must be signed in to change notification settings - Fork 8
feat: add "mask support" for reading & composition #96
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
Merged
Merged
Changes from 32 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
39b71cc
Switch submodule libs/libCZIrw to https://github.com/ptahmose/libczi-…
ptahmose f4a9ca8
Merge branch 'main' of github.com:ptahmose/zeiss-pylibczirw
ptahmose 6ef2fb1
Add atomic lock management to CMemBitmapWrapper
ptahmose 8ea26bd
Add ReaderOptions to CZI reader initialization
ptahmose d79f6c4
Switch submodule libs/libCZIrw to https://github.com/ptahmose/libczi-…
ptahmose 5105b72
add support for "reader-options"
ptahmose a1fd846
add to "API.md"
ptahmose a2ebd51
linter
ptahmose 09c757c
fix syntax error
ptahmose a0dd704
linter
ptahmose 18b0d4c
linter
ptahmose 32692e7
linter
ptahmose f879748
linter
ptahmose 5af71fe
linter
ptahmose 65c8cda
linter
ptahmose e8a7e3e
lint
ptahmose fef6e44
linter
ptahmose df8f7b1
linter
ptahmose fc0641d
remove settings.json
ptahmose cc6a3fe
linter
ptahmose 5f7de91
linter
ptahmose 0c103fc
linter
ptahmose 09604ca
linter
ptahmose c70950d
linter
ptahmose 073071d
linter
ptahmose 916153e
Improve comments in CZIreadAPI.h for clarity
ptahmose f5585b7
linter
ptahmose 467c24b
linter
ptahmose 11ccaa7
linter
ptahmose d9bc647
linter
ptahmose dc3f6a8
linter
ptahmose f16919b
fix
ptahmose aabd658
review
ptahmose 3c2af79
review
ptahmose 401bde9
refactor: improve docstrings for ReaderOptions and open_czi function
ptahmose e066478
fix: remove unnecessary whitespace in ReaderOptions class
ptahmose 461126d
fix: correct formatting in open_czi function docstring
ptahmose File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
[submodule "libs/libCZIrw"] | ||
path = libs/libCZIrw | ||
url = https://github.com/ZEISS/libczi | ||
url = https://github.com/ZEISS/libczi.git | ||
branch = main | ||
[submodule "libs/pybind11"] | ||
path = libs/pybind11 | ||
url = https://github.com/pybind/pybind11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#pragma once | ||
#include "inc_libCzi.h" | ||
|
||
/// This POD ("plain-old-data") structure gathers open-time options for the | ||
/// CZI reader. It is used to configure the reader's behavior, such as enabling | ||
/// mask awareness and visibility check optimizations. | ||
struct ReaderOptions { | ||
/// whether to enable mask awareness | ||
bool enableMaskAwareness = false; | ||
|
||
/// whether to enable visibility check optimization | ||
bool enableVisibilityCheckOptimization = true; | ||
|
||
void Clear() { | ||
this->enableMaskAwareness = false; | ||
this->enableVisibilityCheckOptimization = true; | ||
} | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#pragma once | ||
|
||
// Make the project version available on the C++ side | ||
#define PROJECT_VERSION "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.