No Normalization
No-op normalization.
NoNormalization
Bases: Normalization
No-op normalization transform returning patches unchanged.
Parameters:
-
**kwargs(Any, default:{}) –Additional keyword arguments.
__call__(patch, target=None)
Apply no normalization to the patch and target.
Parameters:
-
patch(NDArray) –Patch, 2D or 3D, shape C(Z)YX.
-
target(NDArray, default:None) –Target for the patch, by default None.
Returns:
-
tuple of NDArray–Transformed patch and target, the target can be returned as
None.
__init__(**kwargs)
Initialize the no normalization transform.
Parameters:
-
**kwargs(Any, default:{}) –Additional keyword arguments.
denormalize(patch)
Reverse the normalization operation for a batch of patches.
Parameters:
-
patch(Tensor) –Patch, 2D or 3D, shape BC(Z)YX.
Returns:
-
Tensor–Denormalized patch.