random pixels model