In particular, I want to generate a tolerance interval, for which I would need to have the values of Zx for x some value on the standard normal.
Does the Java standard library have anything like this, or should I roll my own?
EDIT: Specifically, I’m looking to do something akin to linear regression on a set of images. I have two images, and I want to see what the degree of correlation is between their pixels. I suppose this might fall under computer vision as well.
Simply calculate Pearson correlation coefficient between those two images.
You will have 3 coefficients because of R,G,B channels needs to be analyzed separately.
Or you can calculate 1 coefficient just for intensity levels of images,… or you could calculate correlation between Hue values of images after converting to HSV or HSL color space.
Do whatever your see fits 🙂
EDIT: Correlation coefficient may be maximized only after scaling and/or rotating some image. This may be a problem or not – depends on your needs.