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
#@ImagePlus structural_images | |
#@ImagePlus label_image | |
#@Double atlas_precision_mm | |
#@ObjectService os | |
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
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 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
/** | |
* 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 | |
* |
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 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
#@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); |
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 script takes a 3D input a stack with beads and will output a stack of the same size | |
* with single points placed at the center of detected beads / spots | |
* this is the first step to compute a clean PSF with distillation. | |
* | |
* The rest of the PSF computation happens in the script ExtractPSF | |
* | |
* For detecting beads in 3D the method used is the Laplacian of Gaussian detector by Trackmate which has 2 parameters | |
* It can be useful to use the TrackMate GUI before using this script in order to check which parameters to use. | |
* |
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 script takes a 3D input a stack with beads and a stack of the same size | |
* with single points placed at the center of detected beads / spots | |
* this is the second step to compute a clean PSF with distillation. | |
* | |
* Example for this script: | |
* - Image = https://zenodo.org/records/14203207/files/30x1000_FS-025_FW-60_AC-170.tif | |
* - Bead Image = the result of the DetectBeads script | |
* | |
* Link to useful threads: |
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
// Open a URL from OMERO with caching into Fiji as an ImagePlus | |
// Requires PTBIOP and OMERO 5.5 5.6 update site | |
// Written by Nicolas Chiaruttini on 24th Jan 2025 | |
// Try https://omero-tim.gerbi-gmb.de/webclient/?show=image-104300 with: | |
// login: read-tim | |
// passwd: read-tim | |
#@CommandService cs | |
#@String(label="omero url") url | |
#@SourceAndConverterService source_service |
OlderNewer