View ViewerChannelTestingData.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View I46_tiles_ngff_datatree.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View save_image_from_numpy_array_affine_matrix.py
This file contains 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
import itk | |
import numpy as np | |
def save(np_array: np.ndarray, filename: str, affine_matrix: np.ndarray): | |
# -1 for translation | |
Dimension = affine_matrix.shape[0] - 1 | |
# Is this a multi-component image? | |
is_vector = np_array.ndim != Dimension | |
print('is_vector', is_vector) |
View ImageChannelInterleavedContiguous.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Segmentation_Image_Distance.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View AnisotropicSpacing.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ContourExtractor2D.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ITKCommitPrefixChangelog.py
This file contains 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
#!/usr/bin/env python3 | |
import subprocess | |
import sys | |
if len(sys.argv) < 2: | |
print('Usage: ' + sys.argv[0] + ' <ReleaseNotesFilePath.md>') | |
sys.exit(1) | |
output_file = sys.argv[1] |
View build-test-package.yml
This file contains 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
name: Build, test, package | |
on: [push,pull_request] | |
jobs: | |
build-test-cxx: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
max-parallel: 3 | |
matrix: |
View netlify-zarr-config.py
This file contains 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
#!/usr/bin/env python3 | |
"""Netlify does not serve hidden files, i.e files starting with a '.'. Copy Zarr | |
hidden files and generate a '_redirects' file for Zarr DirectoryStore | |
deployment. | |
References: | |
- https://docs.netlify.com/routing/redirects/#syntax-for-the-redirects-file | |
- https://community.netlify.com/t/hidden-files-removed-in-zip-deploy/8997 |
NewerOlder