Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
img[i][j]含义是什么?[j]是该像素点对应的RGB通道值,那么[i]确定的是什么?
pixel = img[i] x,y是需要的坐标 w,h是整个画面的宽度和高度 i是索引,等于w*y + x
r,g,b = pixel 是rgb的像素值,也可以写 r = pixel[0] g = pixel[1] b = pixel[2]