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 f | |
IFormatReader r = new ImageReader(); | |
IMetadata meta = MetadataTools.createOMEXMLMetadata(); | |
r.setMetadataStore(meta) | |
r.setId(f.getAbsolutePath()); | |
meta = (IMetadata) r.getMetadataStore(); // Retrieves the metadata object | |
int nImages = r.getSeriesCount(); // Number of images within the file | |
for (int iImage = 0; iImage<nImages; iImage++) { | |
r.setSeries(iImage); |
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
/** | |
* A small theory about pile-up effect in FLIM - unfortunately I lost the way I made these equations | |
* | |
* (I think the documentation below is wrong: what is n ? what is alpha ? why are they not the same ?) | |
* | |
* Here, we model a poisson process for the number of photon emitted per excitation pulse. (parameter alpha) | |
* In other words: alpha is the parameter of the poisson distribution ( = average number of photons emitted after an excitation pulse) | |
* | |
* And each photon has a mono-exponential lifetime tau | |
* |
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 loci.formats.in.libczi; | |
import javax.xml.bind.annotation.XmlAttribute; | |
import javax.xml.bind.annotation.XmlElement; | |
import javax.xml.bind.annotation.XmlRootElement; | |
import java.util.ArrayList; | |
import loci.common.DataTools; | |
import ome.units.UNITS; | |
import ome.units.quantity.Length; |
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
#@ImagePlus structural_images | |
#@ImagePlus label_image | |
#@Double atlas_precision_mm | |
#@ObjectService os | |
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
/** | |
* Makes a big 2d procedural plane and saves it as a multiresolution ome.tiff image | |
* | |
* Tested on a 128 000 x 128 000 images with 8000 objects (11G pix), 10 resolutions levels, downscale 2 ~ 30 minutes to generate | |
* | |
* PTBIOP update site needed | |
* @author Nicolas Chiaruttini, 2023 | |
*/ | |
#@Integer nPixelsX |
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
/** | |
* Simple script demoing how to check if an update site is enabled | |
* and how to list all enabled update sites | |
* | |
* @author Nicolas Chiaruttini | |
* BIOP, EPFL, 2022 | |
**/ | |
#@UpdateService updateService |
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 ch.epfl.biop.test; | |
/** | |
* Simple tests of potential arithmetic simplification that I think | |
* a JIT compiler should be able to do: | |
* - Multiplications by ones | |
* - Additions with zeros... | |
* | |
* My wish is that special cases matrices computations could be auto-simplified. | |
* (a translation matrix is only 3 additions in 3D) |
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
// See https://forum.image.sc/t/reconstructing-tomographic-light-sheet-data-2d-slice-into-cylindrical-3d-volume | |
// Bigdataviewer-playground update site need to be activated | |
#@ConvertService cs | |
#@ImagePlus(required=false) image | |
#@int numberOfAngles | |
#@BdvHandle(required=false) bdvPolar | |
#@BdvHandle(required=false) bdvCar | |
#@ColorRGB color | |
#@SourceAndConverterBdvDisplayService bdvDisplay |
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
/** | |
* Simple script demoing how to check if an update site is enabled | |
* and how to list all enabled update sites | |
* | |
* @author Nicolas Chiaruttini | |
* BIOP, EPFL, 2022 | |
**/ | |
#@UpdateService updateService |
NewerOlder