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Z|m}Z}m~Z~mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZdd$lmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmÐZÐmĐZĐmŐZŐmƐZƐmǐZǐmȐZdd%lɐ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ݐZd&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 SaveImage) LoadImaged LoadImageD LoadImageDict SaveImaged SaveImageD SaveImageDict) 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 AffineGridFlipGridDistortion GridPatch GridSplit Orientation Rand2DElastic Rand3DElastic RandAffineRandAffineGrid RandAxisFlipRandDeformGridRandFlipRandGridDistortion RandGridPatch RandRotate RandRotate90RandSimulateLowResolutionRandZoomResampleResampleToMatchResizeRotateRotate90SpacingSpatialResampleZoom)HAffinedAffineD AffineDictFlipdFlipDFlipDictGridDistortiondGridDistortionDGridDistortionDict 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)!AddCoordinateChannelsAddExtremePointsChannel AsChannelLast CastToTypeClassesToIndices(ConvertToMultiChannelBasedOnBratsClassesCuCIM DataStatsEnsureChannelFirst EnsureType FgBgToIndicesIdentity ImageFilterIntensityStats LabelToMaskLambda MapLabelValue RandCuCIM RandIdentityRandImageFilter RandLambdaRemoveRepeatedChannel RepeatChannel SimulateDelaySplitDim SqueezeDimToCupyToDeviceToNumpyToPIL TorchVisionToTensor Transpose)rAddCoordinateChannelsdAddCoordinateChannelsDAddCoordinateChannelsDictAddExtremePointsChanneldAddExtremePointsChannelDAddExtremePointsChannelDictAsChannelLastdAsChannelLastDAsChannelLastDict 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 RandLambdaDRandLambdaDictRandTorchVisiondRandTorchVisionDRandTorchVisionDictRemoveRepeatedChanneldRemoveRepeatedChannelDRemoveRepeatedChannelDictRepeatChanneldRepeatChannelDRepeatChannelDict SelectItemsd SelectItemsDSelectItemsDictSimulateDelaydSimulateDelayDSimulateDelayDict SplitDimd SplitDimD SplitDimDict SqueezeDimd SqueezeDimDSqueezeDimDictToCupydToCupyD ToCupyDict ToDeviced ToDeviceD ToDeviceDictToNumpydToNumpyD ToNumpyDictToPILdToPILD ToPILDict 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_positivemap_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)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.arrayrrrZ io.dictionaryrrrrrrZ lazy.arrayrZlazy.dictionaryrrrZlazy.functionalrZ lazy.utilsrrZmeta_utility.dictionaryrrrrrrnvtxrrrrrrrr r r r r rrrrrrrrrrrrZ post.arrayrrrrrrr r!r"r#r$r%r&Zpost.dictionaryr'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSZregularization.arrayrTrUrVZregularization.dictionaryrWrXrYrZr[r\r]r^r_Z signal.arrayr`rarbrcrdrerfrgrhrirjZsignal.dictionaryrkrlrmZsmooth_field.arrayrnrorprqZsmooth_field.dictionaryrrrsrtrurvrwrxryrzZ spatial.arrayr{r|r}r~rrrrrrrrrrrrrrrrrrrrrrrrZspatial.dictionaryrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrZspatial.functionalrZtraitsrrrr transformrrrrrrZ utility.arrayrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r Zutility.dictionaryr r r rrrrrrrrrrrrrrrrrrr 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|utilsr}r~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrZutils_pytorch_numpy_unificationrrrrrrrrrrrrrrrrrrrrrrN/home/dell461/cl/sdc2/HISourceFinder-master-l/src/monai/transforms/__init__.py sX L 8*h ":rs/"R b "*R LJ*:#tk.