






from cva import destroyAllWindows, imread, imshow, waitKey





def   SCREAMING_SNAKE_CASE__						(   snake_case_,  snake_case_  )   ->  str:


 """simple docstring"""



 a	, a		=			img.shape[0], img.shape[1]

 def to_grayscale(snake_case_,  snake_case_,  snake_case_  ):
  return 0.2126 * red + 0.587 * green + 0.114 * blue

 def normalize(snake_case_  ):
  return min(snake_case_,  2_5_5  )

 for i in range(snake_case_  ):
  for j in range(snake_case_  ):
   a		=			int(to_grayscale(*img[i][j]  )  )
   a		=			[
       normalize(snake_case_  ),
       normalize(greyscale + factor  ),
       normalize(greyscale + 2 * factor  ),
   ]

 return img


if __name__ == "__main__":
    # read original image
    UpperCamelCase__						:      Optional[Any]								=					{
        percentage: imread("""image_data/lena.jpg""", 1) for percentage in (10, 20, 30, 40)
    }

    for percentage, img in images.items():
        make_sepia(img, percentage)

    for percentage, img in images.items():
        imshow(F"Original image with sepia (factor: {percentage})", img)

    waitKey(0)
    destroyAllWindows()













def   SCREAMING_SNAKE_CASE__						(   snake_case_  )   ->  int:


	"""simple docstring"""



	return n * (2 * n - 1)





def   SCREAMING_SNAKE_CASE__						(   snake_case_  )   ->  bool:


	"""simple docstring"""



	a		=			(1 + 2_4 * n) ** 0.5
	return ((1 + root) / 6) % 1 == 0





def   SCREAMING_SNAKE_CASE__						(   snake_case_ = 1_4_4  )   ->  int:


	"""simple docstring"""



	a		=			start
	a		=			hexagonal_num(snake_case_  )
	while not is_pentagonal(snake_case_  ):
		n += 1
		a		=			hexagonal_num(snake_case_  )
	return num


if __name__ == "__main__":
				print(F"{solution()} = ")





