pyfast 4.13.0__cp36-abi3-win_amd64.whl → 4.13.1__cp36-abi3-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fast/bin/FAST.dll +0 -0
- fast/bin/InferenceEngineONNXRuntime.dll +0 -0
- fast/bin/InferenceEngineOpenVINO.dll +0 -0
- fast/bin/InferenceEngineTensorFlow.dll +0 -0
- fast/bin/InferenceEngineTensorRT.dll +0 -0
- fast/bin/UFFviewer.exe +0 -0
- fast/bin/_fast.pyd +0 -0
- fast/bin/runPipeline.exe +0 -0
- fast/bin/systemCheck.exe +0 -0
- fast/fast.py +192 -149
- {pyfast-4.13.0.dist-info → pyfast-4.13.1.dist-info}/METADATA +1 -1
- {pyfast-4.13.0.dist-info → pyfast-4.13.1.dist-info}/RECORD +17 -17
- /fast/licenses/{LICENSE → tensorflow/LICENSE} +0 -0
- /fast/licenses/{THIRD_PARTY_TF_C_LICENSES → tensorflow/THIRD_PARTY_TF_C_LICENSES} +0 -0
- {pyfast-4.13.0.dist-info → pyfast-4.13.1.dist-info}/WHEEL +0 -0
- {pyfast-4.13.0.dist-info → pyfast-4.13.1.dist-info}/entry_points.txt +0 -0
- {pyfast-4.13.0.dist-info → pyfast-4.13.1.dist-info}/top_level.txt +0 -0
fast/bin/FAST.dll
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
fast/bin/UFFviewer.exe
CHANGED
|
Binary file
|
fast/bin/_fast.pyd
CHANGED
|
Binary file
|
fast/bin/runPipeline.exe
CHANGED
|
Binary file
|
fast/bin/systemCheck.exe
CHANGED
|
Binary file
|
fast/fast.py
CHANGED
|
@@ -2739,6 +2739,135 @@ _data_type_to_str = {
|
|
|
2739
2739
|
}
|
|
2740
2740
|
_str_to_data_type = {value : key for (key, value) in _data_type_to_str.items()}
|
|
2741
2741
|
|
|
2742
|
+
class RuntimeMeasurement(object):
|
|
2743
|
+
r"""
|
|
2744
|
+
A class for runtime measurement
|
|
2745
|
+
|
|
2746
|
+
Collect multiple runtimes over time, and calculates running average, running standard deviation,
|
|
2747
|
+
sum, max, min etc.
|
|
2748
|
+
|
|
2749
|
+
All measurements are in milliseconds
|
|
2750
|
+
"""
|
|
2751
|
+
|
|
2752
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
2753
|
+
__repr__ = _swig_repr
|
|
2754
|
+
|
|
2755
|
+
def __init__(self, name: "std::string", warmupRounds: "int"=0, maximumSamples: "int"=-1):
|
|
2756
|
+
_fast.RuntimeMeasurement_swiginit(self, _fast.new_RuntimeMeasurement(name, warmupRounds, maximumSamples))
|
|
2757
|
+
|
|
2758
|
+
def addSample(self, runtime: "double") -> "void":
|
|
2759
|
+
return _fast.RuntimeMeasurement_addSample(self, runtime)
|
|
2760
|
+
|
|
2761
|
+
def getSum(self) -> "double":
|
|
2762
|
+
return _fast.RuntimeMeasurement_getSum(self)
|
|
2763
|
+
|
|
2764
|
+
def getAverage(self) -> "double":
|
|
2765
|
+
return _fast.RuntimeMeasurement_getAverage(self)
|
|
2766
|
+
|
|
2767
|
+
def getSamples(self) -> "unsigned int":
|
|
2768
|
+
return _fast.RuntimeMeasurement_getSamples(self)
|
|
2769
|
+
|
|
2770
|
+
def getMax(self) -> "double":
|
|
2771
|
+
return _fast.RuntimeMeasurement_getMax(self)
|
|
2772
|
+
|
|
2773
|
+
def getMin(self) -> "double":
|
|
2774
|
+
return _fast.RuntimeMeasurement_getMin(self)
|
|
2775
|
+
|
|
2776
|
+
def getStdDeviation(self) -> "double":
|
|
2777
|
+
return _fast.RuntimeMeasurement_getStdDeviation(self)
|
|
2778
|
+
|
|
2779
|
+
def _print(self) -> "std::string":
|
|
2780
|
+
return _fast.RuntimeMeasurement__print(self)
|
|
2781
|
+
|
|
2782
|
+
def reset(self) -> "void":
|
|
2783
|
+
return _fast.RuntimeMeasurement_reset(self)
|
|
2784
|
+
__swig_destroy__ = _fast.delete_RuntimeMeasurement
|
|
2785
|
+
|
|
2786
|
+
# Register RuntimeMeasurement in _fast:
|
|
2787
|
+
_fast.RuntimeMeasurement_swigregister(RuntimeMeasurement)
|
|
2788
|
+
|
|
2789
|
+
class RuntimeMeasurementsManager(object):
|
|
2790
|
+
r"""
|
|
2791
|
+
Manages multiple runtime measurements
|
|
2792
|
+
|
|
2793
|
+
See also: RuntimeMeasurement
|
|
2794
|
+
"""
|
|
2795
|
+
|
|
2796
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
2797
|
+
|
|
2798
|
+
def __init__(self, *args, **kwargs):
|
|
2799
|
+
raise AttributeError("No constructor defined")
|
|
2800
|
+
__repr__ = _swig_repr
|
|
2801
|
+
|
|
2802
|
+
@staticmethod
|
|
2803
|
+
def New() -> "std::shared_ptr< fast::RuntimeMeasurementsManager >":
|
|
2804
|
+
return _fast.RuntimeMeasurementsManager_New()
|
|
2805
|
+
|
|
2806
|
+
def getNameOfClass(self) -> "std::string":
|
|
2807
|
+
return _fast.RuntimeMeasurementsManager_getNameOfClass(self)
|
|
2808
|
+
|
|
2809
|
+
@staticmethod
|
|
2810
|
+
def getStaticNameOfClass() -> "std::string":
|
|
2811
|
+
return _fast.RuntimeMeasurementsManager_getStaticNameOfClass()
|
|
2812
|
+
|
|
2813
|
+
def setWarmupRounds(self, rounds: "int") -> "void":
|
|
2814
|
+
return _fast.RuntimeMeasurementsManager_setWarmupRounds(self, rounds)
|
|
2815
|
+
|
|
2816
|
+
def getWarmupRounds(self) -> "int":
|
|
2817
|
+
return _fast.RuntimeMeasurementsManager_getWarmupRounds(self)
|
|
2818
|
+
|
|
2819
|
+
def enable(self) -> "void":
|
|
2820
|
+
return _fast.RuntimeMeasurementsManager_enable(self)
|
|
2821
|
+
|
|
2822
|
+
def disable(self) -> "void":
|
|
2823
|
+
return _fast.RuntimeMeasurementsManager_disable(self)
|
|
2824
|
+
|
|
2825
|
+
def isEnabled(self) -> "bool":
|
|
2826
|
+
return _fast.RuntimeMeasurementsManager_isEnabled(self)
|
|
2827
|
+
|
|
2828
|
+
def startCLTimer(self, name: "std::string", queue: "cl::CommandQueue") -> "void":
|
|
2829
|
+
return _fast.RuntimeMeasurementsManager_startCLTimer(self, name, queue)
|
|
2830
|
+
|
|
2831
|
+
def stopCLTimer(self, name: "std::string", queue: "cl::CommandQueue") -> "void":
|
|
2832
|
+
return _fast.RuntimeMeasurementsManager_stopCLTimer(self, name, queue)
|
|
2833
|
+
|
|
2834
|
+
def startRegularTimer(self, name: "std::string") -> "void":
|
|
2835
|
+
return _fast.RuntimeMeasurementsManager_startRegularTimer(self, name)
|
|
2836
|
+
|
|
2837
|
+
def stopRegularTimer(self, name: "std::string") -> "void":
|
|
2838
|
+
return _fast.RuntimeMeasurementsManager_stopRegularTimer(self, name)
|
|
2839
|
+
|
|
2840
|
+
def startNumberedCLTimer(self, name: "std::string", queue: "cl::CommandQueue") -> "void":
|
|
2841
|
+
return _fast.RuntimeMeasurementsManager_startNumberedCLTimer(self, name, queue)
|
|
2842
|
+
|
|
2843
|
+
def stopNumberedCLTimer(self, name: "std::string", queue: "cl::CommandQueue") -> "void":
|
|
2844
|
+
return _fast.RuntimeMeasurementsManager_stopNumberedCLTimer(self, name, queue)
|
|
2845
|
+
|
|
2846
|
+
def startNumberedRegularTimer(self, name: "std::string") -> "void":
|
|
2847
|
+
return _fast.RuntimeMeasurementsManager_startNumberedRegularTimer(self, name)
|
|
2848
|
+
|
|
2849
|
+
def stopNumberedRegularTimer(self, name: "std::string") -> "void":
|
|
2850
|
+
return _fast.RuntimeMeasurementsManager_stopNumberedRegularTimer(self, name)
|
|
2851
|
+
|
|
2852
|
+
def getTiming(self, name: "std::string") -> "fast::RuntimeMeasurement::pointer":
|
|
2853
|
+
return _fast.RuntimeMeasurementsManager_getTiming(self, name)
|
|
2854
|
+
|
|
2855
|
+
def _print(self, name: "std::string") -> "void":
|
|
2856
|
+
return _fast.RuntimeMeasurementsManager__print(self, name)
|
|
2857
|
+
|
|
2858
|
+
def printAll(self) -> "void":
|
|
2859
|
+
return _fast.RuntimeMeasurementsManager_printAll(self)
|
|
2860
|
+
__swig_destroy__ = _fast.delete_RuntimeMeasurementsManager
|
|
2861
|
+
|
|
2862
|
+
# Register RuntimeMeasurementsManager in _fast:
|
|
2863
|
+
_fast.RuntimeMeasurementsManager_swigregister(RuntimeMeasurementsManager)
|
|
2864
|
+
|
|
2865
|
+
def RuntimeMeasurementsManager_New() -> "std::shared_ptr< fast::RuntimeMeasurementsManager >":
|
|
2866
|
+
return _fast.RuntimeMeasurementsManager_New()
|
|
2867
|
+
|
|
2868
|
+
def RuntimeMeasurementsManager_getStaticNameOfClass() -> "std::string":
|
|
2869
|
+
return _fast.RuntimeMeasurementsManager_getStaticNameOfClass()
|
|
2870
|
+
|
|
2742
2871
|
class ReporterEnd(object):
|
|
2743
2872
|
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
2744
2873
|
__repr__ = _swig_repr
|
|
@@ -2839,6 +2968,21 @@ class Object(object):
|
|
|
2839
2968
|
def getReporter(self) -> "fast::Reporter &":
|
|
2840
2969
|
return _fast.Object_getReporter(self)
|
|
2841
2970
|
|
|
2971
|
+
def getRuntime(self, *args) -> "fast::RuntimeMeasurement::pointer":
|
|
2972
|
+
return _fast.Object_getRuntime(self, *args)
|
|
2973
|
+
|
|
2974
|
+
def getAllRuntimes(self) -> "fast::RuntimeMeasurementsManager::pointer":
|
|
2975
|
+
return _fast.Object_getAllRuntimes(self)
|
|
2976
|
+
|
|
2977
|
+
def getRuntimeManager(self) -> "fast::RuntimeMeasurementsManager::pointer":
|
|
2978
|
+
return _fast.Object_getRuntimeManager(self)
|
|
2979
|
+
|
|
2980
|
+
def enableRuntimeMeasurements(self) -> "void":
|
|
2981
|
+
return _fast.Object_enableRuntimeMeasurements(self)
|
|
2982
|
+
|
|
2983
|
+
def disableRuntimeMeasurements(self) -> "void":
|
|
2984
|
+
return _fast.Object_disableRuntimeMeasurements(self)
|
|
2985
|
+
|
|
2842
2986
|
# Register Object in _fast:
|
|
2843
2987
|
_fast.Object_swigregister(Object)
|
|
2844
2988
|
|
|
@@ -3076,135 +3220,6 @@ class DeviceCriteria(object):
|
|
|
3076
3220
|
# Register DeviceCriteria in _fast:
|
|
3077
3221
|
_fast.DeviceCriteria_swigregister(DeviceCriteria)
|
|
3078
3222
|
|
|
3079
|
-
class RuntimeMeasurement(Object):
|
|
3080
|
-
r"""
|
|
3081
|
-
A class for runtime measurement
|
|
3082
|
-
|
|
3083
|
-
Collect multiple runtimes over time, and calculates running average, running standard deviation,
|
|
3084
|
-
sum, max, min etc.
|
|
3085
|
-
|
|
3086
|
-
All measurements are in milliseconds
|
|
3087
|
-
"""
|
|
3088
|
-
|
|
3089
|
-
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
3090
|
-
__repr__ = _swig_repr
|
|
3091
|
-
|
|
3092
|
-
def __init__(self, name: "std::string", warmupRounds: "int"=0, maximumSamples: "int"=-1):
|
|
3093
|
-
_fast.RuntimeMeasurement_swiginit(self, _fast.new_RuntimeMeasurement(name, warmupRounds, maximumSamples))
|
|
3094
|
-
|
|
3095
|
-
def addSample(self, runtime: "double") -> "void":
|
|
3096
|
-
return _fast.RuntimeMeasurement_addSample(self, runtime)
|
|
3097
|
-
|
|
3098
|
-
def getSum(self) -> "double":
|
|
3099
|
-
return _fast.RuntimeMeasurement_getSum(self)
|
|
3100
|
-
|
|
3101
|
-
def getAverage(self) -> "double":
|
|
3102
|
-
return _fast.RuntimeMeasurement_getAverage(self)
|
|
3103
|
-
|
|
3104
|
-
def getSamples(self) -> "unsigned int":
|
|
3105
|
-
return _fast.RuntimeMeasurement_getSamples(self)
|
|
3106
|
-
|
|
3107
|
-
def getMax(self) -> "double":
|
|
3108
|
-
return _fast.RuntimeMeasurement_getMax(self)
|
|
3109
|
-
|
|
3110
|
-
def getMin(self) -> "double":
|
|
3111
|
-
return _fast.RuntimeMeasurement_getMin(self)
|
|
3112
|
-
|
|
3113
|
-
def getStdDeviation(self) -> "double":
|
|
3114
|
-
return _fast.RuntimeMeasurement_getStdDeviation(self)
|
|
3115
|
-
|
|
3116
|
-
def _print(self) -> "std::string":
|
|
3117
|
-
return _fast.RuntimeMeasurement__print(self)
|
|
3118
|
-
|
|
3119
|
-
def reset(self) -> "void":
|
|
3120
|
-
return _fast.RuntimeMeasurement_reset(self)
|
|
3121
|
-
__swig_destroy__ = _fast.delete_RuntimeMeasurement
|
|
3122
|
-
|
|
3123
|
-
# Register RuntimeMeasurement in _fast:
|
|
3124
|
-
_fast.RuntimeMeasurement_swigregister(RuntimeMeasurement)
|
|
3125
|
-
|
|
3126
|
-
class RuntimeMeasurementsManager(Object):
|
|
3127
|
-
r"""
|
|
3128
|
-
Manages multiple runtime measurements
|
|
3129
|
-
|
|
3130
|
-
See also: RuntimeMeasurement
|
|
3131
|
-
"""
|
|
3132
|
-
|
|
3133
|
-
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
3134
|
-
|
|
3135
|
-
def __init__(self, *args, **kwargs):
|
|
3136
|
-
raise AttributeError("No constructor defined")
|
|
3137
|
-
__repr__ = _swig_repr
|
|
3138
|
-
|
|
3139
|
-
@staticmethod
|
|
3140
|
-
def New() -> "std::shared_ptr< fast::RuntimeMeasurementsManager >":
|
|
3141
|
-
return _fast.RuntimeMeasurementsManager_New()
|
|
3142
|
-
|
|
3143
|
-
def getNameOfClass(self) -> "std::string":
|
|
3144
|
-
return _fast.RuntimeMeasurementsManager_getNameOfClass(self)
|
|
3145
|
-
|
|
3146
|
-
@staticmethod
|
|
3147
|
-
def getStaticNameOfClass() -> "std::string":
|
|
3148
|
-
return _fast.RuntimeMeasurementsManager_getStaticNameOfClass()
|
|
3149
|
-
|
|
3150
|
-
def setWarmupRounds(self, rounds: "int") -> "void":
|
|
3151
|
-
return _fast.RuntimeMeasurementsManager_setWarmupRounds(self, rounds)
|
|
3152
|
-
|
|
3153
|
-
def getWarmupRounds(self) -> "int":
|
|
3154
|
-
return _fast.RuntimeMeasurementsManager_getWarmupRounds(self)
|
|
3155
|
-
|
|
3156
|
-
def enable(self) -> "void":
|
|
3157
|
-
return _fast.RuntimeMeasurementsManager_enable(self)
|
|
3158
|
-
|
|
3159
|
-
def disable(self) -> "void":
|
|
3160
|
-
return _fast.RuntimeMeasurementsManager_disable(self)
|
|
3161
|
-
|
|
3162
|
-
def isEnabled(self) -> "bool":
|
|
3163
|
-
return _fast.RuntimeMeasurementsManager_isEnabled(self)
|
|
3164
|
-
|
|
3165
|
-
def startCLTimer(self, name: "std::string", queue: "cl::CommandQueue") -> "void":
|
|
3166
|
-
return _fast.RuntimeMeasurementsManager_startCLTimer(self, name, queue)
|
|
3167
|
-
|
|
3168
|
-
def stopCLTimer(self, name: "std::string", queue: "cl::CommandQueue") -> "void":
|
|
3169
|
-
return _fast.RuntimeMeasurementsManager_stopCLTimer(self, name, queue)
|
|
3170
|
-
|
|
3171
|
-
def startRegularTimer(self, name: "std::string") -> "void":
|
|
3172
|
-
return _fast.RuntimeMeasurementsManager_startRegularTimer(self, name)
|
|
3173
|
-
|
|
3174
|
-
def stopRegularTimer(self, name: "std::string") -> "void":
|
|
3175
|
-
return _fast.RuntimeMeasurementsManager_stopRegularTimer(self, name)
|
|
3176
|
-
|
|
3177
|
-
def startNumberedCLTimer(self, name: "std::string", queue: "cl::CommandQueue") -> "void":
|
|
3178
|
-
return _fast.RuntimeMeasurementsManager_startNumberedCLTimer(self, name, queue)
|
|
3179
|
-
|
|
3180
|
-
def stopNumberedCLTimer(self, name: "std::string", queue: "cl::CommandQueue") -> "void":
|
|
3181
|
-
return _fast.RuntimeMeasurementsManager_stopNumberedCLTimer(self, name, queue)
|
|
3182
|
-
|
|
3183
|
-
def startNumberedRegularTimer(self, name: "std::string") -> "void":
|
|
3184
|
-
return _fast.RuntimeMeasurementsManager_startNumberedRegularTimer(self, name)
|
|
3185
|
-
|
|
3186
|
-
def stopNumberedRegularTimer(self, name: "std::string") -> "void":
|
|
3187
|
-
return _fast.RuntimeMeasurementsManager_stopNumberedRegularTimer(self, name)
|
|
3188
|
-
|
|
3189
|
-
def getTiming(self, name: "std::string") -> "fast::RuntimeMeasurement::pointer":
|
|
3190
|
-
return _fast.RuntimeMeasurementsManager_getTiming(self, name)
|
|
3191
|
-
|
|
3192
|
-
def _print(self, name: "std::string") -> "void":
|
|
3193
|
-
return _fast.RuntimeMeasurementsManager__print(self, name)
|
|
3194
|
-
|
|
3195
|
-
def printAll(self) -> "void":
|
|
3196
|
-
return _fast.RuntimeMeasurementsManager_printAll(self)
|
|
3197
|
-
__swig_destroy__ = _fast.delete_RuntimeMeasurementsManager
|
|
3198
|
-
|
|
3199
|
-
# Register RuntimeMeasurementsManager in _fast:
|
|
3200
|
-
_fast.RuntimeMeasurementsManager_swigregister(RuntimeMeasurementsManager)
|
|
3201
|
-
|
|
3202
|
-
def RuntimeMeasurementsManager_New() -> "std::shared_ptr< fast::RuntimeMeasurementsManager >":
|
|
3203
|
-
return _fast.RuntimeMeasurementsManager_New()
|
|
3204
|
-
|
|
3205
|
-
def RuntimeMeasurementsManager_getStaticNameOfClass() -> "std::string":
|
|
3206
|
-
return _fast.RuntimeMeasurementsManager_getStaticNameOfClass()
|
|
3207
|
-
|
|
3208
3223
|
class ExecutionDevice(Object):
|
|
3209
3224
|
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
3210
3225
|
__repr__ = _swig_repr
|
|
@@ -3471,21 +3486,6 @@ class ProcessObject(AttributeObject):
|
|
|
3471
3486
|
"""
|
|
3472
3487
|
return _fast.ProcessObject_update(self, executeToken)
|
|
3473
3488
|
|
|
3474
|
-
def getRuntime(self, *args) -> "fast::RuntimeMeasurement::pointer":
|
|
3475
|
-
return _fast.ProcessObject_getRuntime(self, *args)
|
|
3476
|
-
|
|
3477
|
-
def getAllRuntimes(self) -> "fast::RuntimeMeasurementsManager::pointer":
|
|
3478
|
-
return _fast.ProcessObject_getAllRuntimes(self)
|
|
3479
|
-
|
|
3480
|
-
def getRuntimeManager(self) -> "fast::RuntimeMeasurementsManager::pointer":
|
|
3481
|
-
return _fast.ProcessObject_getRuntimeManager(self)
|
|
3482
|
-
|
|
3483
|
-
def enableRuntimeMeasurements(self) -> "void":
|
|
3484
|
-
return _fast.ProcessObject_enableRuntimeMeasurements(self)
|
|
3485
|
-
|
|
3486
|
-
def disableRuntimeMeasurements(self) -> "void":
|
|
3487
|
-
return _fast.ProcessObject_disableRuntimeMeasurements(self)
|
|
3488
|
-
|
|
3489
3489
|
def setMainDevice(self, device: "fast::ExecutionDevice::pointer") -> "void":
|
|
3490
3490
|
return _fast.ProcessObject_setMainDevice(self, device)
|
|
3491
3491
|
|
|
@@ -13704,8 +13704,8 @@ class ImagePyramidAccess(object):
|
|
|
13704
13704
|
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
13705
13705
|
__repr__ = _swig_repr
|
|
13706
13706
|
|
|
13707
|
-
def __init__(self, levels: "std::vector< fast::ImagePyramidLevel,std::allocator< fast::ImagePyramidLevel > >", fileHandle: "openslide_t *", tiffHandle: "TIFF *", imagePyramid: "std::shared_ptr< fast::ImagePyramid >", writeAccess: "bool", initializedPatchList: "std::unordered_set< std::string > &", readMutex: "std::mutex &", compressionFormat: "fast::ImageCompression"):
|
|
13708
|
-
_fast.ImagePyramidAccess_swiginit(self, _fast.new_ImagePyramidAccess(levels, fileHandle, tiffHandle, imagePyramid, writeAccess, initializedPatchList, readMutex, compressionFormat))
|
|
13707
|
+
def __init__(self, levels: "std::vector< fast::ImagePyramidLevel,std::allocator< fast::ImagePyramidLevel > >", fileHandle: "openslide_t *", tiffHandle: "TIFF *", imagePyramid: "std::shared_ptr< fast::ImagePyramid >", writeAccess: "bool", initializedPatchList: "std::unordered_set< std::string > &", readMutex: "std::mutex &", compressionFormat: "fast::ImageCompression", useCache: "bool"=False, cacheLimit: "int"=-1):
|
|
13708
|
+
_fast.ImagePyramidAccess_swiginit(self, _fast.new_ImagePyramidAccess(levels, fileHandle, tiffHandle, imagePyramid, writeAccess, initializedPatchList, readMutex, compressionFormat, useCache, cacheLimit))
|
|
13709
13709
|
|
|
13710
13710
|
def setPatch(self, level: "int", x: "int", y: "int", patch: "std::shared_ptr< fast::Image >", propagate: "bool"=True) -> "void":
|
|
13711
13711
|
r"""
|
|
@@ -13739,9 +13739,52 @@ class ImagePyramidAccess(object):
|
|
|
13739
13739
|
return _fast.ImagePyramidAccess_isPatchInitialized(self, level, x, y)
|
|
13740
13740
|
|
|
13741
13741
|
def getLevelAsImage(self, level: "int") -> "std::shared_ptr< fast::Image >":
|
|
13742
|
+
r"""
|
|
13743
|
+
Get a specific level in an ImagePyramid as an Image object.
|
|
13744
|
+
If requesting a level with a width or height higher than 16384 pixels this will throw an exception.
|
|
13745
|
+
:type level: int
|
|
13746
|
+
:param level:
|
|
13747
|
+
:rtype: :py:class:`Image`
|
|
13748
|
+
:return:
|
|
13749
|
+
"""
|
|
13742
13750
|
return _fast.ImagePyramidAccess_getLevelAsImage(self, level)
|
|
13743
13751
|
|
|
13744
13752
|
def getPatchAsImage(self, *args) -> "std::shared_ptr< fast::Image >":
|
|
13753
|
+
r"""
|
|
13754
|
+
*Overload 1:*
|
|
13755
|
+
|
|
13756
|
+
Extract a patch from the image pyramid and return it as an Image
|
|
13757
|
+
:type level: int
|
|
13758
|
+
:param level: Level to extract patch from
|
|
13759
|
+
:type offsetX: int
|
|
13760
|
+
:param offsetX: X offset
|
|
13761
|
+
:type offsetY: int
|
|
13762
|
+
:param offsetY: Y offset
|
|
13763
|
+
:type width: int
|
|
13764
|
+
:param width: Width of patch
|
|
13765
|
+
:type height: int
|
|
13766
|
+
:param height: Height of patch
|
|
13767
|
+
:type convertToRGB: boolean
|
|
13768
|
+
:param convertToRGB: convert to RGB when using OpenSlide, since it will return BGRA data
|
|
13769
|
+
:rtype: :py:class:`Image`
|
|
13770
|
+
:return: Patch as Image
|
|
13771
|
+
|
|
13772
|
+
|
|
|
13773
|
+
|
|
13774
|
+
*Overload 2:*
|
|
13775
|
+
|
|
13776
|
+
Extract a tile from the Image Pyramid
|
|
13777
|
+
:type level: int
|
|
13778
|
+
:param level: Level to extract tile from
|
|
13779
|
+
:type patchIdX: int
|
|
13780
|
+
:param patchIdX: Tile X id
|
|
13781
|
+
:type patchIdY: int
|
|
13782
|
+
:param patchIdY: Tile Y id
|
|
13783
|
+
:type convertToRGB: boolean
|
|
13784
|
+
:param convertToRGB: convert to RGB when using OpenSlide, since it will return BGRA data
|
|
13785
|
+
:rtype: :py:class:`Image`
|
|
13786
|
+
:return: Tile as Image
|
|
13787
|
+
"""
|
|
13745
13788
|
return _fast.ImagePyramidAccess_getPatchAsImage(self, *args)
|
|
13746
13789
|
|
|
13747
13790
|
def getPatchAsImageForMagnification(self, magnification: "float", offsetX: "float", offsetY: "float", width: "int", height: "int", convertToRGB: "bool"=True) -> "std::shared_ptr< fast::Image >":
|
|
@@ -13758,7 +13801,7 @@ class ImagePyramidAccess(object):
|
|
|
13758
13801
|
:type height: int
|
|
13759
13802
|
:param height: Height of patch in pixels
|
|
13760
13803
|
:type convertToRGB: boolean
|
|
13761
|
-
:param convertToRGB:
|
|
13804
|
+
:param convertToRGB: convert to RGB when using OpenSlide, since it will return BGRA data
|
|
13762
13805
|
:rtype: :py:class:`Image`
|
|
13763
13806
|
:return: patch as Image object
|
|
13764
13807
|
"""
|
|
@@ -14988,8 +15031,8 @@ class ImagePyramid(SpatialDataObject):
|
|
|
14988
15031
|
def getSpacing(self) -> "Vector3f":
|
|
14989
15032
|
return _fast.ImagePyramid_getSpacing(self)
|
|
14990
15033
|
|
|
14991
|
-
def getAccess(self, type: "accessType") -> "fast::ImagePyramidAccess::pointer":
|
|
14992
|
-
return _fast.ImagePyramid_getAccess(self, type)
|
|
15034
|
+
def getAccess(self, type: "accessType", useTileCache: "bool"=False, tileCacheSize: "int"=-1) -> "fast::ImagePyramidAccess::pointer":
|
|
15035
|
+
return _fast.ImagePyramid_getAccess(self, type, useTileCache, tileCacheSize)
|
|
14993
15036
|
|
|
14994
15037
|
def getDirtyPatches(self) -> "std::unordered_set< std::string >":
|
|
14995
15038
|
return _fast.ImagePyramid_getDirtyPatches(self)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyfast
|
|
3
|
-
Version: 4.13.
|
|
3
|
+
Version: 4.13.1
|
|
4
4
|
Summary: Python bindings of FAST - a framework for high performance medical image computing and visualization on heterogeneous systems utilizing multi-core CPUs and GPUs.
|
|
5
5
|
Home-page: https://fast-imaging.github.io
|
|
6
6
|
Author: Erik Smistad
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
fast/README.md,sha256=IAIHnW4u0N5jqL9jJJJIWUEr4NxNiYukgzcAQVi7X7Y,3157
|
|
2
2
|
fast/__init__.py,sha256=7dAN9S8exrVrCIASBenenE9RMl6z2_lqYogH3kerKIA,1697
|
|
3
3
|
fast/entry_points.py,sha256=-HSZuuewlaohCTgk_RoaZVORN-s6vi1gj40_4oejJPQ,437
|
|
4
|
-
fast/fast.py,sha256=
|
|
4
|
+
fast/fast.py,sha256=CATwuhsuWxWnaEy_Ztr8u-Xq_elm0bvvDATJvI7S3Ts,787109
|
|
5
5
|
fast/bin/DirectML.dll,sha256=nJ5tgiVhxsQbkOaZSz6IV88dZtv7HgxMeZx8ibTpLaE,18527776
|
|
6
|
-
fast/bin/FAST.dll,sha256=
|
|
7
|
-
fast/bin/InferenceEngineONNXRuntime.dll,sha256=
|
|
8
|
-
fast/bin/InferenceEngineOpenVINO.dll,sha256=
|
|
9
|
-
fast/bin/InferenceEngineTensorFlow.dll,sha256=
|
|
10
|
-
fast/bin/InferenceEngineTensorRT.dll,sha256=
|
|
6
|
+
fast/bin/FAST.dll,sha256=TnnAe6MUZYBq8yEsJMjHvxxPFEbMrRWXTEkMJPTukxY,6593024
|
|
7
|
+
fast/bin/InferenceEngineONNXRuntime.dll,sha256=k_FYZZAsSd-TUoVvgBY6dkuxyWlsvcfeG_09Mt4J0PU,68608
|
|
8
|
+
fast/bin/InferenceEngineOpenVINO.dll,sha256=llnCcMVU3qnadkTjfKhGf3nhboj3xFzdoZ1ogwFbarU,103424
|
|
9
|
+
fast/bin/InferenceEngineTensorFlow.dll,sha256=Y_eClOaq0R42ltbaMv75MrMnWdXm0aXtiUxWMcLwfZ8,84992
|
|
10
|
+
fast/bin/InferenceEngineTensorRT.dll,sha256=B0m3ZJSnbUexm54yyZPzPzzp7e9HQA5zMkc9bmfcCMI,183296
|
|
11
11
|
fast/bin/JKQTCommonSharedLib_Release.dll,sha256=-J899O0jWoErkmad0Gpz3yUOsOzaasZ1KH7qfRztlWY,594944
|
|
12
12
|
fast/bin/JKQTFastPlotterSharedLib_Release.dll,sha256=ihj_GGUTxtRMxcWwE5gcninxk71OAD3ZcrJfFQKkcl0,275968
|
|
13
13
|
fast/bin/JKQTMathTextSharedLib_Release.dll,sha256=LciFx8sPLuhY8neWSSnuJOl95wn4UC6TjbQQsk8wKws,1854464
|
|
@@ -29,8 +29,8 @@ fast/bin/Qt5Svg.dll,sha256=aj02zjM0_dLEts0WBtgFg1IkoC9TiZlljTR_Sn89w2c,323584
|
|
|
29
29
|
fast/bin/Qt5Test.dll,sha256=Q8N0_CAf2zm5qmDKIhyDZF6OMQo50ioqBXECQDKQaF8,238080
|
|
30
30
|
fast/bin/Qt5Widgets.dll,sha256=7QO8QbvCqLonnGokcye5bEy_aEmYvGNC-r4SA2Aixvk,5486592
|
|
31
31
|
fast/bin/Qt5Xml.dll,sha256=3LNjwTIY4zSIOpjak8zO882n24aB6R6HC2BYxr_r0CE,206848
|
|
32
|
-
fast/bin/UFFviewer.exe,sha256=
|
|
33
|
-
fast/bin/_fast.pyd,sha256=
|
|
32
|
+
fast/bin/UFFviewer.exe,sha256=lgxkAgo-oT9_HRpPLxIaJHGamWsh48u44oFCRsuKhVA,351232
|
|
33
|
+
fast/bin/_fast.pyd,sha256=4ga6x9LUGOWbfDC6Kw6YDbFbUQ970C3khJ6LfIYN1Cc,6685184
|
|
34
34
|
fast/bin/brotlicommon.dll,sha256=eqau-BNwoZqjP-UehjE2TtJ3OUgHM1aFih_QPKO0q_0,141824
|
|
35
35
|
fast/bin/brotlidec.dll,sha256=4VtxgcvsGSOeczeJg8mj-jvnEgoKAYamP_jL5U6I5rA,49152
|
|
36
36
|
fast/bin/brotlienc.dll,sha256=mEPxzSRy_5f5rF1b-njjzWnp7VUXYvFl828J_CSgOoc,666112
|
|
@@ -75,8 +75,8 @@ fast/bin/openvino_onnx_frontend.dll,sha256=1GaigbrSMXXhdP8VxFN3MdCmqeLp18wUTXe9-
|
|
|
75
75
|
fast/bin/openvino_paddle_frontend.dll,sha256=LTyHVbydnalMlmJ5KErufxpjzM-KduT8AndQRAfQ0oM,1291784
|
|
76
76
|
fast/bin/plugins.xml,sha256=cxXE2Y4pocbjloTNLYfh4_Wlc2Z6tQbM3hnrCzQraCU,938
|
|
77
77
|
fast/bin/realsense2.dll,sha256=GOPlz5ppiWk5GjhoOE6VX7XANiwZ_Tlvc1VNHp-1Vd0,6607360
|
|
78
|
-
fast/bin/runPipeline.exe,sha256=
|
|
79
|
-
fast/bin/systemCheck.exe,sha256=
|
|
78
|
+
fast/bin/runPipeline.exe,sha256=DglzbLmpNdiQithzPMu66lBjDeKIn86TG9FOYz6DUAc,87552
|
|
79
|
+
fast/bin/systemCheck.exe,sha256=c2cF24p88Hh_JMM3NEct_h0dc-2ADUrNQrgdF6cuKDY,70144
|
|
80
80
|
fast/bin/tbb.dll,sha256=fUbSAXWHDJaUzfw6Yua2DUSq1aKaVEAKhij6kuW_BOw,230416
|
|
81
81
|
fast/bin/tbb_preview.dll,sha256=9sertnzn8ooqT9uRGi-4kcov7lvJLeZNCcPw5tBHDAk,419344
|
|
82
82
|
fast/bin/tbbbind.dll,sha256=Mt-8NTbjPbpYQbnJptpGygUI8_EXn6gge4DNt2jWvN0,76304
|
|
@@ -203,8 +203,6 @@ fast/kernels/Visualization/VertexRenderer/VertexRenderer.vert,sha256=mTKcYEoDBWH
|
|
|
203
203
|
fast/kernels/Visualization/VolumeRenderer/AlphaBlendingVolumeRenderer.cl,sha256=uFGD5e7uEVStF_y2xTzA2Wui1PidZFY-IMRRG4y-EBo,8552
|
|
204
204
|
fast/kernels/Visualization/VolumeRenderer/MaximumIntensityProjection.cl,sha256=22EcYv5aCnWBsrRlfktAx41B-ZX4NMjRzShMopcZJS8,5542
|
|
205
205
|
fast/kernels/Visualization/VolumeRenderer/ThresholdVolumeRenderer.cl,sha256=-cEcFczK9ceHifOgj-5ymzJpKOchjoqRNuMS7km9R-A,7472
|
|
206
|
-
fast/licenses/LICENSE,sha256=N9vtWaau8IA_JKfawUZnlJHEYPqovDg0l014as9WpA8,11419
|
|
207
|
-
fast/licenses/THIRD_PARTY_TF_C_LICENSES,sha256=yO2KAHKO9o4jdkuE8ZMcCtdXeDO6dAQDUyDoSwVDewc,396929
|
|
208
206
|
fast/licenses/MSVC/MSVC_redis_files_license.txt,sha256=Yz3FQ9XEXUiUDo8zwMkCrFTPQZUPb6baRotcRlUoMuo,23461
|
|
209
207
|
fast/licenses/OpenIGTLink/LICENSE.txt,sha256=saHYEMRsPgBc6HlzMcnNBsmTC3cphA9aDX4rKtcgyGo,1536
|
|
210
208
|
fast/licenses/OpenJPEG/LICENSE,sha256=pq8Tbz4VA4pma2HzdmEqB9mk5Iy3wBrb8-M7PxSrSbY,2112
|
|
@@ -274,6 +272,8 @@ fast/licenses/qt5/LICENSE.QT-LICENSE-AGREEMENT,sha256=Nn6AJcc7h-41TKWE6F6GpqS6qA
|
|
|
274
272
|
fast/licenses/realsense/LICENSE,sha256=x6of3w44xIJ_7xeFndv6yAC4mV8-yHWgbdI8eRNflW0,11352
|
|
275
273
|
fast/licenses/realsense/NOTICE,sha256=ZxN870sQleBHHnOodssveJtWG1otnQn6UHlR5TlVqMM,50297
|
|
276
274
|
fast/licenses/semaphore/Semaphore_LICENSE.txt,sha256=EmC2K2cPukP2YVKKXqkUW6Sd7ogJ9_j7U-KC7UuSM9s,868
|
|
275
|
+
fast/licenses/tensorflow/LICENSE,sha256=N9vtWaau8IA_JKfawUZnlJHEYPqovDg0l014as9WpA8,11419
|
|
276
|
+
fast/licenses/tensorflow/THIRD_PARTY_TF_C_LICENSES,sha256=yO2KAHKO9o4jdkuE8ZMcCtdXeDO6dAQDUyDoSwVDewc,396929
|
|
277
277
|
fast/licenses/tiff/COPYRIGHT,sha256=-9b-15OFQdLICcCCYiX8heVR_b-ocysQ8Mh-CEesr9c,1146
|
|
278
278
|
fast/licenses/uthash/LICENSE,sha256=6bmqyEIbbSkXbG8j9vepBxlCReNe-ZrOEIOXNJYc-qI,1141
|
|
279
279
|
fast/licenses/zip/UNLICENSE,sha256=aocudJUvjzMvyO7Ah78IraYcTvXKtSZt46bfs-DuMJ4,1257
|
|
@@ -309,8 +309,8 @@ fast/plugins/printsupport/windowsprintersupport.dll,sha256=kBurf1mttxzy_MVu0Ms0Y
|
|
|
309
309
|
fast/plugins/sqldrivers/qsqlite.dll,sha256=Xt-Rep35Kmij0H1p3oupOIB0uJHjMQeA9dqXQbZF760,1404928
|
|
310
310
|
fast/plugins/sqldrivers/qsqlodbc.dll,sha256=yTfiiHzR9BooTeU7fKM2T7wD1F22R_YU-jrdt_tAkrM,91136
|
|
311
311
|
fast/plugins/styles/qwindowsvistastyle.dll,sha256=GjdUPMzOTyhIq7OOMC6yoV4TFGAYZEqskATVB-Vt9s4,137216
|
|
312
|
-
pyfast-4.13.
|
|
313
|
-
pyfast-4.13.
|
|
314
|
-
pyfast-4.13.
|
|
315
|
-
pyfast-4.13.
|
|
316
|
-
pyfast-4.13.
|
|
312
|
+
pyfast-4.13.1.dist-info/METADATA,sha256=_tJUhQqXQSyPbWVLdrBRoOJ7UjWDQfLyFudjAsFjyrM,7036
|
|
313
|
+
pyfast-4.13.1.dist-info/WHEEL,sha256=NhJjJj0zvJjNUIc1BgT18k2IYq2O0dIE45IEYKXKXn0,100
|
|
314
|
+
pyfast-4.13.1.dist-info/entry_points.txt,sha256=R8uLUxXQR4QRSOK02qMJusiCmeiCJarHWpvN8BLG8Js,152
|
|
315
|
+
pyfast-4.13.1.dist-info/top_level.txt,sha256=8QJk2-edYNobGXP5cFnggvdAmRsO4HxRmobqpf6Uxuo,5
|
|
316
|
+
pyfast-4.13.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|