p(x)=((Subscript[N, K])/(total   number   of   pixels)).