Package inra.ijpb.data.border
Management of pixels outside image bounds.
Contains several classes for accessing values outside image bounds. Such options may be useful when filtering images, to avoid border effects.
The global behavior is defined by the BorderManager
interface.
Implementations manage replication, mirroring, constant borders...
-
Interface Summary Interface Description BorderManager Manages borders of an image, by providing methods for accessing values also for position out of image bounds.BorderManager3D Manages borders of an image, by providing methods for accessing values also for position out of image bounds. -
Class Summary Class Description ConstantBorder Returns either image pixel when position is inside image bounds, or a constant value when position is outside of image bounds.ConstantBorder3D Returns either image pixel when position is inside image bounds, or a constant value when position is outside of image bounds.MirroringBorder Periodic border that considers image is mirrored indefinitely in all directions.MirroringBorder3D Periodic border that considers image is mirrored indefinitely in all directions.PeriodicBorder Periodic border that considers image is repeated indefinitely in all directions.PeriodicBorder3D Periodic border that considers image is repeated indefinitely in all directions.ReplicatedBorder Assess pixel outside image bounds have same value as the closest pixel on image border.ReplicatedBorder3D Assess pixel outside image bounds have same value as the closest pixel on image border. -
Enum Summary Enum Description BorderManager.Type A set of pre-defined border managers stored in an enumeration.BorderManager3D.Type A set of pre-defined border managers stored in an enumeration.