HoleMakerPoint
HoleMakerPoint
selects the region to be replaced using a reference point. The region is expanded from this point depending on its size. When using this technique, it is needed to manually modify the x
and y
attributes for the HoleMakerPoint
.
HoleMakerPoint
HoleMakerPoint (hole_size:tuple=(100, 100))
Defines the size of the hole.
Type | Default | Details | |
---|---|---|---|
hole_size | tuple | (100, 100) | The size of the hole in a tuple like (y, x). |
HoleMakerPoint.get_hole
HoleMakerPoint.get_hole (mask:numpy.ndarray)
Defines how to make the hole.
Type | Details | |
---|---|---|
mask | ndarray | The mask associated with the image where the hole is going to be made. |