ImageStatistics.STD_DEV isn't working

Hello, I am trying to obtain a pixel mean value for different images. When I use ImageStatistics.STD_DEV, the return values are the same for all images. When I look at the histogram photo they are all clearly different. The return value is always four for some reason. Any help is appreciated. Thanks.

for i in range(1,5):
	IJ.open('p' + str(i) + '.png')
	imp =IJ.getImage()
	ip = imp.getProcessor()
	options = IS.MEAN | IS.MEDIAN | IS.MIN_MAX | IS.STD_DEV
	stats = IS.getStatistics(ip,options,imp.getCalibration())
	Means.append(stats.mean)
	Stdev.append(stats.STD_DEV) #Standard Deviation has a bug
	IJ.run("Close")
	#IJ.run("Histogram")

Since you had asked this on the fiji gitter channel first, I’m linking to my reply there: