Skip to content

Commit

Permalink
new menu "imglib2" in navbar + changes in contributing guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
nornil committed Mar 1, 2024
1 parent 0c2e203 commit d03deb3
Show file tree
Hide file tree
Showing 30 changed files with 927 additions and 77 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .quarto/idx/index.qmd.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .quarto/xref/01550437
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"headings":[],"entries":[]}
{"entries":[],"headings":[]}
2 changes: 1 addition & 1 deletion .quarto/xref/176084fe
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"headings":["contributing-guidelines","table-of-contents","governance","code-of-conduct","getting-started","prerequisites-and-setting-up-the-development-environment","setting-up-the-development-environment","making-contributions","creating-issues","working-on-issues","submitting-pull-requests","code-guidelines","testing","documentation","community","license"],"entries":[]}
{"entries":[],"headings":["contributing-guidelines","table-of-contents","governance","code-of-conduct","getting-started","making-contributions","creating-issues","working-on-issues","submitting-pull-requests","code-guidelines","testing","documentation","community","license"]}
2 changes: 1 addition & 1 deletion .quarto/xref/2eb2c597
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"entries":[],"headings":[]}
{"headings":[],"entries":[]}
2 changes: 1 addition & 1 deletion .quarto/xref/59730313
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"headings":["contributing-guidelines","table-of-contents","governance","code-of-conduct","getting-started","prerequisites-and-setting-up-the-development-environment","setting-up-the-development-environment","making-contributions","creating-issues","working-on-issues","submitting-pull-requests","code-guidelines","testing","documentation","community","license"],"entries":[]}
{"headings":["contributing-guidelines","table-of-contents","governance","code-of-conduct","getting-started","making-contributions","creating-issues","working-on-issues","submitting-pull-requests","code-guidelines","testing","documentation","community","license"],"entries":[]}
2 changes: 1 addition & 1 deletion .quarto/xref/6e7315d9
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"entries":[],"headings":["imglib2","this-is-the-joint-landing-page-for-imglib2-and-bigdataviewer-projects","imglib2-is-a-general-purpose-multidimensional-image-processing-library.","it-provides-an-interface-driven-design-that-supports-numeric-and-non-numeric-data-types-8-bit-unsigned-integer-32-bit-floating-point-etc.-in-an-extensible-way.-it-implements-several-data-sources-and-sample-organizations-including-one-single-primitive-array-one-array-per-plane-n-dimensional-array-cells-cached-to-and-from-disk-on-demand-and-planes-read-on-demand-from-disk.","bigdataviewer-logo-just-a-temporary-placeholder-for-now","the-bigdataviewer-is-a-re-slicing-browser-for-terabyte-sized-multi-view-image-sequences.","conceptually-the-visualized-data-comprises-multiple-data-sources.-each-source-provides-one-3d-image-for-each-time-point-in-the-case-of-a-time-lapse-sequence-or-angle-for-a-multi-angle-spim-dataset.","bigdataviewer-comes-with-a-custom-data-format-that-is-is-optimized-for-fast-random-access-to-very-large-data-sets.-this-permits-browsing-to-any-location-within-a-multi-terabyte-recording-in-a-fraction-of-a-second.-the-file-format-is-based-on-xml-and-hdf5.-images-are-represented-as-tiled-multi-resolution-pyramids-and-stored-in-hdf5-chunked-multi-dimensional-arrays-with-metadata-contained-in-the-xml-file.-bigdataviewer-was-developed-with-multi-view-light-sheet-microscopy-data-in-mind-and-integrates-well-with-fijis-spimage-processing-pipeline."]}
{"entries":[],"headings":["imglib2","this-is-the-joint-landing-page-for-imglib2-and-bigdataviewer-projects","imglib2-is-a-general-purpose-multidimensional-image-processing-library.","it-provides-an-interface-driven-design-that-supports-numeric-and-non-numeric-data-types-8-bit-unsigned-integer-32-bit-floating-point-etc.-in-an-extensible-way.-it-implements-several-data-sources-and-sample-organizations-including-one-single-primitive-array-one-array-per-plane-n-dimensional-array-cells-cached-to-and-from-disk-on-demand-and-planes-read-on-demand-from-disk.","bigdataviewer-preliminary-logo","the-bigdataviewer-is-a-re-slicing-browser-for-terabyte-sized-multi-view-image-sequences.","conceptually-the-visualized-data-comprises-multiple-data-sources.-each-source-provides-one-3d-image-for-each-time-point-in-the-case-of-a-time-lapse-sequence-or-angle-for-a-multi-angle-spim-dataset.","bigdataviewer-comes-with-a-custom-data-format-that-is-is-optimized-for-fast-random-access-to-very-large-data-sets.-this-permits-browsing-to-any-location-within-a-multi-terabyte-recording-in-a-fraction-of-a-second.-the-file-format-is-based-on-xml-and-hdf5.-images-are-represented-as-tiled-multi-resolution-pyramids-and-stored-in-hdf5-chunked-multi-dimensional-arrays-with-metadata-contained-in-the-xml-file.-bigdataviewer-was-developed-with-multi-view-light-sheet-microscopy-data-in-mind-and-integrates-well-with-fijis-spimage-processing-pipeline."]}
3 changes: 3 additions & 0 deletions .quarto/xref/INDEX
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@
},
"blog_posts/2023-12-21-How-to-add-your-project-to-ecosystem-page/2023-12-21-How-to-add-your-project-to-ecosystem-page.qmd": {
"2023-12-21-How-to-add-your-project-to-ecosystem-page.html": "7a8bacd6"
},
"Imglib2.qmd": {
"Imglib2.html": "d45a1b86"
}
}
74 changes: 74 additions & 0 deletions Imglib2.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
title: "ImgLib2"
image: imglib2-logo.png
about:
template: solana
links:
- icon: mastodon
text: Mastodon
href: https://fosstodon.org/@imglib2
- icon: github
text: Github
href: https://github.com/imglib2
format:
html:
code-tools: false
---

ImgLib2 is a general-purpose, multidimensional image and data processing library.

It provides a unified API to work with discrete and continuous n-dimensional data. This API is interface driven and therefore extensible at will.

ImgLib2 includes implementations of standard numeric and non-numeric data types (8-bit unsigned integer, 32-bit floating point, ...) as well as a number of less typical data types (complex 64-bit floating point, 64-bit ARGB, base pairs, ...). Data values can be accessed directly or through on-the-fly converters or multi-variate functions.

For discrete data (images, n-dimensional arrays), ImgLib2 implements a variety of memory layouts, data generation, loading, and caching strategies, including data linearized into single primitive arrays, series of arrays, n-dimensional arrays of arrays ("cells"), stored in memory, generated or loaded from disk on demand, and cached in memory or on disk. Coordinates and values can be accessed directly or through on-the-fly views that invert or permute axes, generate hyperslices or stack slices top higher dimensional datasets, collapse dimensions into vectors

For continuous data (functions, n-dimensional interpolants), ImgLib2 implements a variety of interpolators, geometric transformations, and generator functions. Coordinates and values can be accessed directly or transformed on-the-fly.

Need a quick start? Install OpenJDK and maven:
```
sudo apt install openjdk-16-jdk maven
```

Then check out [BigDataViewer vistools](https://github.com/bigdataviewer/bigdataviewer-vistools):
```
git clone https://github.com/bigdataviewer/bigdataviewer-vistools.git
```

Then start JShell in the BigDataViewer vistools project directory:
```
cd bigdataviewer-vistools
mvn compile com.github.johnpoth:jshell-maven-plugin:1.3:run
```

Then try out this code snippet:
```java
import bdv.util.*;
import net.imglib2.position.FunctionRealRandomAccessible;
import net.imglib2.type.numeric.integer.IntType;
import net.imglib2.util.Intervals;

BdvFunctions.show(
new FunctionRealRandomAccessible<IntType>(
2,
(x, y) -> {
int i = 0;
double v = 0,
c = x.getDoublePosition(0),
d = x.getDoublePosition(1);
for (; i < 64 && v < 4096; ++i) {
final double e = c * c - d * d;
d = 2 * c * d;
c = e + 0.2;
d += 0.6;
v = Math.sqrt(c * c + d * d);
++i;
}
y.set(i);
},
IntType::new),
Intervals.createMinMax(-1, -1, 1, 1),
"",
BdvOptions.options().is2D()).setDisplayRange(0, 64);
```

Loading

0 comments on commit d03deb3

Please sign in to comment.