Variance computation

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
User avatar
magick
Site Admin
Posts: 10984
Joined: 2003-05-31T11:32:55-07:00

Re: Variance computation

Post by magick » 2016-11-23T12:57:33-07:00

The current algorithm return a standard deviation of 0 for the single pixel case.

User avatar
fmw42
Posts: 25044
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Variance computation

Post by fmw42 » 2016-11-23T13:03:48-07:00

Thanks, magick, for settling the issue. I assume that was with the denominator of (n-1), correct?

User avatar
magick
Site Admin
Posts: 10984
Joined: 2003-05-31T11:32:55-07:00

Re: Variance computation

Post by magick » 2016-11-23T15:27:57-07:00

Correct.

Post Reply