Download this file
1 2 3 4 5 6
import numpy as np def normImageCustom(x, minX, maxX): x2 = x - minX x3 = x2 / maxX return x3