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Z|m}Z}m~Z~mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZdd$lmZmZmZmZmZmZmZmZmZmZmZmZmZmÐZÐmĐZĐmŐZŐmƐZƐmǐZǐmȐZȐmɐZɐmʐZʐmːZːm̐Z̐m͐Z͐mΐZΐmϐZϐmАZАmѐZѐmҐZҐmӐZӐmԐZԐmՐZՐm֐Z֐mאZאmؐZؐmِZِmڐZڐmېZېmܐZܐmݐZݐmސZސmߐZߐmZmZmZdd%lmZmZdd&lmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZd'S)() annotations)FunctionSignatureadaptor apply_alias to_kwargs)ComposeOneOf RandomOrderSomeOf) BorderPad BoundingRectCenterScaleCropCenterSpatialCropCropCropForeground DivisiblePadPadRandCropByLabelClassesRandCropByPosNegLabel RandScaleCropRandSpatialCropRandSpatialCropSamplesRandWeightedCropResizeWithPadOrCrop SpatialCrop SpatialPad)PadListDataCollate)6 BorderPadd BorderPadD BorderPadDict BoundingRectd BoundingRectDBoundingRectDictCenterScaleCropdCenterScaleCropDCenterScaleCropDictCenterSpatialCropdCenterSpatialCropDCenterSpatialCropDictCropdCropDCropDictCropForegrounddCropForegroundDCropForegroundDict DivisiblePadd DivisiblePadDDivisiblePadDictPaddPadDPadDictRandCropByLabelClassesdRandCropByLabelClassesDRandCropByLabelClassesDictRandCropByPosNegLabeldRandCropByPosNegLabelDRandCropByPosNegLabelDict RandCropd RandCropD RandCropDictRandScaleCropdRandScaleCropDRandScaleCropDictRandSpatialCropdRandSpatialCropDRandSpatialCropDictRandSpatialCropSamplesdRandSpatialCropSamplesDRandSpatialCropSamplesDictRandWeightedCropdRandWeightedCropDRandWeightedCropDictResizeWithPadOrCropdResizeWithPadOrCropDResizeWithPadOrCropDict SpatialCropd SpatialCropDSpatialCropDict SpatialPadd SpatialPadDSpatialPadDict) crop_funccrop_or_pad_ndpad_funcpad_nd)(AdjustContrastClipIntensityPercentilesComputeHoVerMapsDetectEnvelopeForegroundMaskGaussianSharpenGaussianSmooth GibbsNoiseHistogramNormalizeIntensityRemapKSpaceSpikeNoise MaskIntensity MedianSmoothNormalizeIntensityRandAdjustContrast RandBiasFieldRandCoarseDropoutRandCoarseShuffleRandCoarseTransformRandGaussianNoiseRandGaussianSharpenRandGaussianSmoothRandGibbsNoiseRandHistogramShiftRandIntensityRemapRandKSpaceSpikeNoiseRandRicianNoiseRandScaleIntensityRandScaleIntensityFixedMeanRandShiftIntensityRandStdShiftIntensitySavitzkyGolaySmoothScaleIntensityScaleIntensityFixedMeanScaleIntensityRangeScaleIntensityRangePercentilesShiftIntensityStdShiftIntensityThresholdIntensity UltrasoundConfidenceMapTransform)fAdjustContrastdAdjustContrastDAdjustContrastDictClipIntensityPercentilesdClipIntensityPercentilesDClipIntensityPercentilesDictComputeHoVerMapsdComputeHoVerMapsDComputeHoVerMapsDictForegroundMaskdForegroundMaskDForegroundMaskDictGaussianSharpendGaussianSharpenDGaussianSharpenDictGaussianSmoothdGaussianSmoothDGaussianSmoothDict GibbsNoised GibbsNoiseDGibbsNoiseDictHistogramNormalizedHistogramNormalizeDHistogramNormalizeDictKSpaceSpikeNoisedKSpaceSpikeNoiseDKSpaceSpikeNoiseDictMaskIntensitydMaskIntensityDMaskIntensityDict MedianSmoothd MedianSmoothDMedianSmoothDictNormalizeIntensitydNormalizeIntensityDNormalizeIntensityDictRandAdjustContrastdRandAdjustContrastDRandAdjustContrastDictRandBiasFielddRandBiasFieldDRandBiasFieldDictRandCoarseDropoutdRandCoarseDropoutDRandCoarseDropoutDictRandCoarseShuffledRandCoarseShuffleDRandCoarseShuffleDictRandGaussianNoisedRandGaussianNoiseDRandGaussianNoiseDictRandGaussianSharpendRandGaussianSharpenDRandGaussianSharpenDictRandGaussianSmoothdRandGaussianSmoothDRandGaussianSmoothDictRandGibbsNoisedRandGibbsNoiseDRandGibbsNoiseDictRandHistogramShiftdRandHistogramShiftDRandHistogramShiftDictRandKSpaceSpikeNoisedRandKSpaceSpikeNoiseDRandKSpaceSpikeNoiseDictRandRicianNoisedRandRicianNoiseDRandRicianNoiseDictRandScaleIntensitydRandScaleIntensityDRandScaleIntensityDictRandScaleIntensityFixedMeandRandScaleIntensityFixedMeanDRandScaleIntensityFixedMeanDictRandShiftIntensitydRandShiftIntensityDRandShiftIntensityDictRandStdShiftIntensitydRandStdShiftIntensityDRandStdShiftIntensityDictSavitzkyGolaySmoothdSavitzkyGolaySmoothDSavitzkyGolaySmoothDictScaleIntensitydScaleIntensityDScaleIntensityDictScaleIntensityRangedScaleIntensityRangeDScaleIntensityRangeDictScaleIntensityRangePercentilesdScaleIntensityRangePercentilesD"ScaleIntensityRangePercentilesDictShiftIntensitydShiftIntensityDShiftIntensityDictStdShiftIntensitydStdShiftIntensityDStdShiftIntensityDictThresholdIntensitydThresholdIntensityDThresholdIntensityDict)InvertibleTransformTraceableTransform)BatchInverseTransform Decollated DecollateD DecollateDict)SUPPORTED_READERS LoadImage SaveImageWriteFileMapping) LoadImaged LoadImageD LoadImageDict SaveImaged SaveImageD SaveImageDictWriteFileMappingdWriteFileMappingDWriteFileMappingDict) ApplyPending) ApplyPendingd ApplyPendingDApplyPendingDict) apply_pending)combine_transformsresample)FromMetaTensordFromMetaTensorDFromMetaTensorDict ToMetaTensord ToMetaTensorDToMetaTensorDict)MarkMarkdMarkDMarkDictRandMark RandMarkd RandMarkD RandMarkDict RandRangePop RandRangePopd RandRangePopDRandRangePopDict RandRangePushRandRangePushdRandRangePushDRandRangePushDictRangePop RangePopd RangePopD RangePopDict RangePush RangePushd RangePushD RangePushDict) Activations AsDiscreteDistanceTransformEDT FillHolesInvertKeepLargestConnectedComponent LabelFilterLabelToContour MeanEnsembleProbNMSRemoveSmallObjectsSobelGradients VoteEnsemble)- ActivationsD ActivationsdActivationsDict AsDiscreteD AsDiscretedAsDiscreteDictDistanceTransformEDTdDistanceTransformEDTDDistanceTransformEDTDict Ensembled EnsembleD EnsembleDict FillHolesD FillHolesd FillHolesDictInvertDInvertd InvertDictKeepLargestConnectedComponentDKeepLargestConnectedComponentd!KeepLargestConnectedComponentDict LabelFilterD LabelFilterdLabelFilterDictLabelToContourDLabelToContourdLabelToContourDict MeanEnsembleD MeanEnsembledMeanEnsembleDictProbNMSDProbNMSd ProbNMSDictRemoveSmallObjectsDRemoveSmallObjectsdRemoveSmallObjectsDictSaveClassificationDSaveClassificationdSaveClassificationDictSobelGradientsdSobelGradientsDSobelGradientsDict VoteEnsembleD VoteEnsembledVoteEnsembleDict)CutMixCutOutMixUp) CutMixdCutMixD CutMixDictCutOutdCutOutD CutOutDictMixUpdMixUpD MixUpDict) SignalContinuousWaveletSignalFillEmptySignalRandAddGaussianNoiseSignalRandAddSineSignalRandAddSinePartialSignalRandAddSquarePulseSignalRandAddSquarePulsePartialSignalRandDropSignalRandScaleSignalRandShiftSignalRemoveFrequency)SignalFillEmptydSignalFillEmptyDSignalFillEmptyDict)RandSmoothDeformRandSmoothFieldAdjustContrastRandSmoothFieldAdjustIntensity SmoothField) RandSmoothDeformdRandSmoothDeformDRandSmoothDeformDictRandSmoothFieldAdjustContrastdRandSmoothFieldAdjustContrastD!RandSmoothFieldAdjustContrastDictRandSmoothFieldAdjustIntensitydRandSmoothFieldAdjustIntensityD"RandSmoothFieldAdjustIntensityDict)Affine AffineGridConvertBoxToPointsConvertPointsToBoxesFlipGridDistortion GridPatch GridSplit Orientation Rand2DElastic Rand3DElastic RandAffineRandAffineGrid RandAxisFlipRandDeformGridRandFlipRandGridDistortion RandGridPatch RandRotate RandRotate90RandSimulateLowResolutionRandZoomResampleResampleToMatchResizeRotateRotate90SpacingSpatialResampleZoom)NAffinedAffineD AffineDictConvertBoxToPointsdConvertBoxToPointsDConvertBoxToPointsDictConvertPointsToBoxesdConvertPointsToBoxesDConvertPointsToBoxesDictFlipdFlipDFlipDictGridDistortiondGridDistortionDGridDistortionDict GridPatchd GridPatchD GridPatchDict GridSplitd GridSplitD GridSplitDict Orientationd OrientationDOrientationDictRand2DElasticdRand2DElasticDRand2DElasticDictRand3DElasticdRand3DElasticDRand3DElasticDict RandAffined RandAffineDRandAffineDict RandAxisFlipd RandAxisFlipDRandAxisFlipDict RandFlipd RandFlipD RandFlipDictRandGridDistortiondRandGridDistortionDRandGridDistortionDictRandGridPatchdRandGridPatchDRandGridPatchDict RandRotate90d RandRotate90DRandRotate90Dict RandRotated RandRotateDRandRotateDictRandSimulateLowResolutiondRandSimulateLowResolutionDRandSimulateLowResolutionDict RandZoomd RandZoomD RandZoomDictResampleToMatchdResampleToMatchDResampleToMatchDictResizedResizeD ResizeDict Rotate90d Rotate90D Rotate90DictRotatedRotateD RotateDictSpacingdSpacingD SpacingDictSpatialResampledSpatialResampleDSpatialResampleDictZoomdZoomDZoomDict)spatial_resample) LazyTraitMultiSampleTraitRandomizableTrait ThreadUnsafe) LazyTransform MapTransform RandomizableRandomizableTransform Transformapply_transform)%AddCoordinateChannelsAddExtremePointsChannelApplyTransformToPoints AsChannelLast CastToTypeClassesToIndices(ConvertToMultiChannelBasedOnBratsClassesCuCIM DataStatsEnsureChannelFirst EnsureType FgBgToIndicesIdentity ImageFilterIntensityStats LabelToMaskLambda MapLabelValue RandCuCIM RandIdentityRandImageFilter RandLambda RandTorchIORandTorchVisionRemoveRepeatedChannel RepeatChannel SimulateDelaySplitDim SqueezeDimToCupyToDeviceToNumpyToPILTorchIO TorchVisionToTensor Transpose){AddCoordinateChannelsdAddCoordinateChannelsDAddCoordinateChannelsDictAddExtremePointsChanneldAddExtremePointsChannelDAddExtremePointsChannelDictApplyTransformToPointsdApplyTransformToPointsDApplyTransformToPointsDictAsChannelLastdAsChannelLastDAsChannelLastDict CastToTyped CastToTypeDCastToTypeDictClassesToIndicesdClassesToIndicesDClassesToIndicesDict ConcatItemsd ConcatItemsDConcatItemsDict)ConvertToMultiChannelBasedOnBratsClassesd)ConvertToMultiChannelBasedOnBratsClassesD,ConvertToMultiChannelBasedOnBratsClassesDict CopyItemsd CopyItemsD CopyItemsDictCuCIMdCuCIMD CuCIMDict DataStatsd DataStatsD DataStatsDict DeleteItemsd DeleteItemsDDeleteItemsDictEnsureChannelFirstdEnsureChannelFirstDEnsureChannelFirstDict EnsureTyped EnsureTypeDEnsureTypeDictFgBgToIndicesdFgBgToIndicesDFgBgToIndicesDictFlattenSubKeysdFlattenSubKeysDFlattenSubKeysDict Identityd IdentityD IdentityDict ImageFilterd ImageFilterDImageFilterDictIntensityStatsdIntensityStatsDIntensityStatsDict LabelToMaskd LabelToMaskDLabelToMaskDictLambdadLambdaD LambdaDictMapLabelValuedMapLabelValueDMapLabelValueDict RandCuCIMd RandCuCIMD RandCuCIMDictRandImageFilterdRandImageFilterDRandImageFilterDict RandLambdad RandLambdaDRandLambdaDict RandTorchIOd RandTorchIODRandTorchIODictRandTorchVisiondRandTorchVisionDRandTorchVisionDictRemoveRepeatedChanneldRemoveRepeatedChannelDRemoveRepeatedChannelDictRepeatChanneldRepeatChannelDRepeatChannelDict SelectItemsd SelectItemsDSelectItemsDictSimulateDelaydSimulateDelayDSimulateDelayDict SplitDimd SplitDimD SplitDimDict SqueezeDimd SqueezeDimDSqueezeDimDictToCupydToCupyD ToCupyDict ToDeviced ToDeviceD ToDeviceDictToNumpydToNumpyD ToNumpyDictToPILdToPILD ToPILDictTorchIOdTorchIOD TorchIODict TorchVisiond TorchVisionDTorchVisionDict ToTensord ToTensorD ToTensorDict Transposed TransposeD TransposeDict)-Fourierallow_missing_keys_mode attach_hookcheck_non_lazy_pending_opscompute_divisible_spatial_sizeconvert_applied_interp_modeconvert_pad_modeconvert_to_contiguouscopypaste_arrayscreate_control_grid create_grid create_rotate create_scale create_shearcreate_translatedistance_transform_edt equalize_histextreme_points_to_image#generate_label_classes_crop_centers#generate_pos_neg_label_crop_centersgenerate_spatial_bounding_boxget_extreme_points$get_largest_connected_component_mask!get_number_image_type_conversionsget_transform_backends img_bounds in_boundsis_empty is_positive!map_and_generate_sampling_centersmap_binary_to_indicesmap_classes_to_indicesmap_spatial_axesprint_transform_backends rand_choiceremove_small_objects rescale_arrayrescale_array_int_maxrescale_instance_array reset_ops_id resize_centerresolves_modessync_meta_infoweighted_patch_samples zero_margins)dilateerode)allclose any_np_ptascontiguousarrayclip concatenatecumsum floor_dividein1disfiniteisnanmaximummodemoveaxisnonzero percentileravelrepeatstack unravel_indexwhereN( __future__rZadaptorsrrrrcomposerr r r Z croppad.arrayr r rrrrrrrrrrrrrrrZ croppad.batchrZcroppad.dictionaryrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSZcroppad.functionalrTrUrVrWZintensity.arrayrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rZintensity.dictionaryrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrinverserrZinverse_batch_transformrrrrZio.arrayrrrrZ io.dictionaryrrrrrrrrrZ lazy.arrayrZlazy.dictionaryrrrZlazy.functionalrZ lazy.utilsrrZmeta_utility.dictionaryrrrrrrnvtxrrrr r r r r rrrrrrrrrrrrrrrrZ post.arrayrrr r!r"r#r$r%r&r'r(r)r*Zpost.dictionaryr+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWZregularization.arrayrXrYrZZregularization.dictionaryr[r\r]r^r_r`rarbrcZ signal.arrayrdrerfrgrhrirjrkrlrmrnZsignal.dictionaryrorprqZsmooth_field.arrayrrrsrtruZsmooth_field.dictionaryrvrwrxryrzr{r|r}r~Z spatial.arrayrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrZspatial.dictionaryrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrZspatial.functionalrZtraitsrrrr transformrrrrrrZ utility.arrayrrrrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrZutility.dictionaryrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rrrrrrrrrrrrrrrrrrrrrrrutilsrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrZutils_morphological_opsrrZutils_pytorch_numpy_unificationrrrrrrrrrrrrrrrrrrrrrr[/home/dell461/cl/sdc2/last_ska_mid/HISourceFinder-master-l/src/monai/transforms/__init__.pys\ L 8*h8 ":rt"/Rb " *R ~P*:4'}t/