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
/** | |
* Reads a {@link DataBlock} from an {@link InputStream}. | |
* | |
* @param in | |
* @param datasetAttributes | |
* @param gridPosition | |
* @return | |
* @throws IOException | |
*/ | |
@SuppressWarnings("incomplete-switch") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
public T getValidateDefault(String parameter, Predicate<T> validator, T defaultValue) { | |
return getOptional(parameter).filter(validator) | |
.map(x -> { | |
allDefault = false; | |
return x; | |
}).orElse(defaultValue); | |
} |
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
#@ File(styles="both") root | |
#@ String(value="/") datasetPath | |
/* | |
* If you used Fiji to export a multi-scale image with N5Viewer metadata using average downsampling | |
* between approximately March 13 and April 15 2024, the translation metadata may be incorrect. | |
* | |
* Running this script will correct the metadata. | |
* | |
* John Bogovic |
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
#@ File(styles="both") root | |
#@ String(value="/") datasetPath | |
/* | |
* If you used Fiji to export a multi-scale an image with COSEM metadata using average downsampling | |
* between approximately March 13 and April 15 2024, the translation metadata may be incorrect. | |
* | |
* Running this script will correct the metadata. | |
* | |
* John Bogovic |
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
#@ File(styles="both") root | |
#@ String(value="/") datasetPath | |
/* | |
* If you used Fiji to export a multi-scale OME-Zarr image using average downsampling | |
* between approximately March 13 and April 15 2024, the translation metadata may be incorrect. | |
* | |
* Running this script will correct the metadata. | |
* | |
* John Bogovic |
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
#@ DatasetService ds | |
#@ UIService ui | |
#@ Long radius = 13 | |
#@ String (choices={"Diamond", "Hypersphere"}, style="listBox") shapeType | |
/* | |
* Displays a Diamond or Hypersphere neighborhood for a given radius | |
*/ | |
if( shapeType.equals("Diamond")) | |
shp = new DiamondShape(radius); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
package org.janelia.saalfeldlab.n5.generateExamples; | |
import org.janelia.saalfeldlab.n5.Bzip2Compression; | |
import org.janelia.saalfeldlab.n5.Compression; | |
import org.janelia.saalfeldlab.n5.GzipCompression; | |
import org.janelia.saalfeldlab.n5.Lz4Compression; | |
import org.janelia.saalfeldlab.n5.N5Writer; | |
import org.janelia.saalfeldlab.n5.RawCompression; | |
import org.janelia.saalfeldlab.n5.XzCompression; | |
import org.janelia.saalfeldlab.n5.blosc.BloscCompression; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder