You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+52-53Lines changed: 52 additions & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,48 @@
4
4
# Paintera Conversion Helper
5
5
Script to assist conversion of n5 datasets to paintera-friendly formats, as specified [here](https://github.com/saalfeldlab/paintera/issues/61).
6
6
7
-
## Installation
8
-
Releases can be downloaded for Ubuntu and MacOS from the [Github Releases](https://github.com/saalfeldlab/paintera-conversion-helper/releases)
7
+
## Prebuilt Releases
8
+
Prebuilt releases can be downloaded for Ubuntu and MacOS from the [Github Releases](https://github.com/saalfeldlab/paintera-conversion-helper/releases)
9
9
10
-
## Usage
10
+
---
11
+
## <u>Run from Source</u>
12
+
### Compile
13
+
To compile the conversion helper into a jar, simply run
- the first flintstone arg before `--` is required, and MUST be the number of cluster nodes to use (e.g. `5`)
43
+
- the classpath, main class, and additional args are provided to flintstone, so you do not need to specify them
44
+
45
+
46
+
---
47
+
## <u>Usage</u>
48
+
### To Paintera
11
49
This conversion tool currently supports any number of datasets (raw or label) with a
12
50
single (global) block size, and will output to a single N5 group in a paintera-compatible
13
51
format.
@@ -16,15 +54,8 @@ By default, spark will run locally with up to 24 workers. You can specify more w
16
54
```
17
55
paintera-convert to-paintera [...]
18
56
```
57
+
#### Example
19
58
20
-
`paintera-convert` can also convert paintera label sources to scalar label datasets:
21
-
```
22
-
paintera-convert to-scalar [...]
23
-
```
24
-
`to-scalar` will extract the highest resolution scale level of a Paintera dataset as a scalar `uint64` Dataset. This is useful for using Paintera painted labels (and assignments) in downstream processing, e.g. classifier training. Optionally, the `fragment-segment-assignment` can be considered and additional assignments can be added. See `to-scalar --help` for more details.
25
-
26
-
27
-
### Usage Example
28
59
To convert the `raw` and `neuron_ids` datasets of [sample A of the cremi challenge](https://cremi.org/data/) into Paintera format with mipmaps on Linux, assuming that you downloaded the data into `$HOME/Downloads`, run:
0 commit comments