You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# sigma is not only use to blure the image but also modify the outer circle of shape. like as in sigma provide a formula whcih use to show a multiple shapes in image but if you change this wiht random numbers you will get different shapes.
# like change sigma value with sigma=5.2282277 then check or change with other value then chack again.
im = ndimage.gaussian_filter(im, sigma=l/(4.*n))
mask = im > im.mean()
# this is use to set all 0 as background and rest of 1's are using to show the mask designing