comparison 2d_feature_extraction.py @ 2:6fdb3542a406 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_feature_extraction/ commit b2acc1845a25828181597fe5b6982fe116a7796d
author imgteam
date Mon, 22 Jul 2019 04:59:39 -0400
parents f03b4da203d0
children 5791a7f65275
comparison
equal deleted inserted replaced
1:f03b4da203d0 2:6fdb3542a406
1 import argparse 1 import argparse
2 import numpy as np 2 import numpy as np
3 import pandas as pd 3 import pandas as pd
4 import tifffile
5 import skimage.io 4 import skimage.io
6 import skimage.measure 5 import skimage.measure
7 import skimage.feature 6 import skimage.feature
8 import skimage.segmentation 7 import skimage.segmentation
9 import skimage.morphology 8 import skimage.morphology
18 features.add_argument('--label', dest='add_label', action='store_true') 17 features.add_argument('--label', dest='add_label', action='store_true')
19 features.add_argument('--patches', dest='add_roi_patches', action='store_true') 18 features.add_argument('--patches', dest='add_roi_patches', action='store_true')
20 features.add_argument('--max_intensity', dest='max_intensity', action='store_true') 19 features.add_argument('--max_intensity', dest='max_intensity', action='store_true')
21 features.add_argument('--mean_intensity', dest='mean_intensity', action='store_true') 20 features.add_argument('--mean_intensity', dest='mean_intensity', action='store_true')
22 features.add_argument('--min_intensity', dest='min_intensity', action='store_true') 21 features.add_argument('--min_intensity', dest='min_intensity', action='store_true')
23 features.add_argument('--moments_hu', dest='moments_hu', action='store_true') 22 features.add_argument('--moments_hu', dest='moments_hu', action='store_true')
24 features.add_argument('--centroid', dest='centroid', action='store_true') 23 features.add_argument('--centroid', dest='centroid', action='store_true')
25 features.add_argument('--bbox', dest='bbox', action='store_true') 24 features.add_argument('--bbox', dest='bbox', action='store_true')
26 features.add_argument('--area', dest='area', action='store_true') 25 features.add_argument('--area', dest='area', action='store_true')
27 features.add_argument('--filled_area', dest='filled_area', action='store_true') 26 features.add_argument('--filled_area', dest='filled_area', action='store_true')
28 features.add_argument('--convex_area', dest='convex_area', action='store_true') 27 features.add_argument('--convex_area', dest='convex_area', action='store_true')