Libraries Imported:
%matplotlib inline
import numpy as np
from scipy import misc
import imageio
import matplotlib.pyplot as plt
from skimage import data
Like I created a:
low_value_filter= dogs2 < 80
and did:
dogs2[low_value_filter]=0
so all the pixels in the image with pixel value less than 80 became black. I want to add the low_value_filter just to the right half of the image(or actually a specific range of pixels) instead of the full image. Below are images of a few attempts I made.
This is the image after adding a circular mask Low_value_filter to whole image Attempt 1Attempt 2Attempt 3
Edit:
center_col= total_cols/2