Skip to content

Commit

Permalink
Switch to giatools support package
Browse files Browse the repository at this point in the history
  • Loading branch information
kostrykin committed Apr 23, 2024
1 parent 25c7b18 commit 0493064
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 33 deletions.
5 changes: 2 additions & 3 deletions tools/2d_auto_threshold/auto_threshold.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@

import argparse

import giatools
import giatools.io
import numpy as np
import skimage.filters
import skimage.io
import skimage.util
import tifffile

Expand All @@ -30,7 +29,7 @@


def do_thresholding(in_fn, out_fn, th_method, block_size, offset, threshold, invert_output=False):
img = giatools.imread(in_fn)
img = giatools.io.imread(in_fn)
img = np.squeeze(img)
assert img.ndim == 2

Expand Down
1 change: 1 addition & 0 deletions tools/2d_auto_threshold/auto_threshold.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<requirements>
<requirement type="package" version="@TOOL_VERSION@">scikit-image</requirement>
<requirement type="package" version="2020.10.1">tifffile</requirement>
<requirement type="package" version="0.1">giatools</requirement>
</requirements>
<command detect_errors="aggressive">
<![CDATA[
Expand Down
30 changes: 0 additions & 30 deletions tools/2d_auto_threshold/giatools.py

This file was deleted.

0 comments on commit 0493064

Please sign in to comment.