pixel value scale class