Different image controls in Tensorflow
Implemented Functions
- Block Pixels
- Conv Noise
- Block Patch(fixed size)
- Block Patch(random size)
- Keep Patch
Block Pixels
Randomly blocks each pixel to 0 with probability p.
Conv Noise
Uses gaussian kernel to blur images and adds additional noise to each pixels.
Block Patch
Randomly blocks p x p patched region in the image.
The size of the patch can be changed.
Block Patch(Random Size)
Randomly blocks patched region in the image.
The size of the patch is random.
Keep Patch
All pixels outside randomly chosen p x p patch are set to zero.