中级农民
- 积分
- 213
- 大米
- 颗
- 鳄梨
- 个
- 水井
- 尺
- 蓝莓
- 颗
- 萝卜
- 根
- 小米
- 粒
- 学分
- 个
- 注册时间
- 2017-2-4
- 最后登录
- 1970-1-1
|
大概花了12个小时 完成!
Testing getWidth/getHeight on a 3x3 image. Input image:
(0,0,0) (30,30,30) (80,80,80)
(10,10,10) (120,120,120) (250,250,250)
(240,240,240) (250,250,250) (255,255,255)
Good.
Testing blurring on a 3x3 image.
Good.
Good.
Good.
Testing edge detection on a 3x3 image.
Good.
Testing getWidth/getHeight on a 2x3 image. Input image:
(0,0,0) (0,0,0)
(100,100,100) (0,0,0)
(100,100,100) (100,100,100)
Good.
Testing blurring on a 2x3 image.
Good.
Testing edge detection on a 2x3 image.
Good.
width: 4 height: 4
16 X (50,120,30)
(50,120,30) (50,120,30) (50,120,30) (50,120,30)
(50,120,30) (50,120,30) (50,120,30) (0,0,0)
(50,120,30) (50,120,30) (50,120,30) (50,120,30)
(50,120,30) (50,120,30) (50,120,30) (50,120,30)
Testing one-parameter RunLengthEncoding constuctor on a 3x3 image. Input image:
(0,0,0) (1,1,1) (2,2,2)
(3,3,3) (4,4,4) (5,5,5)
(6,6,6) (7,7,7) (8,8,8)
Testing getWidth/getHeight on a 3x3 encoding.
Good.
Testing toPixImage() on a 3x3 encoding.
Good.
Testing setPixel() on a 3x3 encoding.
Good.
Testing setPixel() on a 3x3 encoding.
Good.
Testing setPixel() on a 3x3 encoding.
Good.
Testing setPixel() on a 3x3 encoding.
Good.
Testing setPixel() on a 3x3 encoding.
Good.
Testing setPixel() on a 3x3 encoding.
Good.
Testing setPixel() on a 3x3 encoding.
Good.
Testing one-parameter RunLengthEncoding constuctor on another 3x3 image. Input image:
(2,2,2) (2,2,2) (3,3,3)
(3,3,3) (4,4,4) (4,4,4)
(5,5,5) (5,5,5) (6,6,6)
Testing getWidth/getHeight on a 3x3 encoding.
Good.
Testing toPixImage() on a 3x3 encoding.
Good.
Testing setPixel() on a 3x3 encoding.
Good.
Testing setPixel() on a 3x3 encoding.
Good.
Testing one-parameter RunLengthEncoding constuctor on a 5x2 image. Input image:
(0,0,0) (1,1,1) (2,2,2) (3,3,3) (4,4,4)
(5,5,5) (6,6,6) (7,7,7) (8,8,8) (9,9,9)
Testing getWidth/getHeight on a 5x2 encoding.
Good.
Testing toPixImage() on a 5x2 encoding.
Good.
Testing setPixel() on a 5x2 encoding.
Good.
Testing setPixel() on a 5x2 encoding.
Good.
Testing setPixel() on a 5x2 encoding.
Good.
Testing one-parameter RunLengthEncoding constuctor on a 3x2 image. Input image:
(0,0,0) (1,1,1) (2,2,2)
(3,3,3) (4,4,4) (5,5,5)
Testing getWidth/getHeight on a 3x2 encoding.
Good.
Testing toPixImage() on a 3x2 encoding.
Good.
Testing setPixel() on a 3x2 encoding.
Good.
Testing setPixel() on a 3x2 encoding.
Good.
Testing setPixel() on a 3x2 encoding.
Good.
|
|