standard_deviation

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

shrek

standard_deviation

Post by shrek »

Hello
I would like in javascript, find the standard deviation of a document in photoshop

Photoshop help say :

standard deviation = Square Root(variance)
variance = (sum( (value-mean)au carré ) over non-transparent pixels ) / ( number of non-transparent pixels - 1)

I can find average and median but not std dev, I don't know "value" in this case

Thanks for your help

Excuse for my english, I'm ... french

Bye