读取图像值 [英] Read the image values
问题描述
输入是图片
栏
1--2--3--4--5--6--7--8 />
0--0 - x - 0--0 - x - 0--0 第2行
x - 0 - x - x- -0 - x - x - x
点击线是读取值的图像
0是值(此洞)
x是否值(空白)
第1行是图像的第1行。第2行是图像的第2行,最多15行就在那里。
我想输出是这种格式: -
i只会排2行。所以16列(每行有8列)
1--2--3--4--5--6--7-- 8--9--10--11--12--13--14--15--16
0--0 - x - 0--0 - x- -0--0 - x --- 0 --- x ---- x ---- 0 --- x --- x ---- x
说明: -
从第1行和第1列读取的图像..... 8
[1,1] = 0是一个值并显示为1
[1,2] = 0是一个值并显示到1
[1,3] = x是无数字并显示为0
[1,4] = 0是一个值并显示为1
[1,5] = 0是一个值并显示为1
[1,6] = x是无值并显示为0
[1,7] = 0是一个值并显示为1
[1,8] = 0是一个值并显示为1 ----- - >第一排完成
从第2行和第1列开始..... 8
[2 ,1] = x是无数字并显示为0
[2,2] = 0是一个数字并显示为1
[2,3] = x是无值并显示为0
[2,4] = x是值并显示为0
[2,5] = 0是值并显示到1
[2,6] = x是无价格并显示为0
[2,7] = x是无价值和显示到0
[2,8] = x是无价格并显示为0
。
。
。
最多15行阅读价值
请快速回复.....
感谢每一个。
Input is images
columns
1--2--3--4--5--6--7--8
0--0--x--0--0--x--0--0 Row 2
x--0--x--x--0--x--x--x
The strike line is an image read the values
0 is values(this hole)
x is No values(blank)
Row 1 is image's 1st line. Row 2 is image's 2nd line upto 15 line is there.
I want Output is this format:-
i will only 2 row. so 16 column(Each row have 8 columns)
1--2--3--4--5--6--7--8--9--10--11--12--13--14--15--16
0--0--x--0--0--x--0--0--x---0---x----x----0---x---x----x
Explain:-
The image read from Row 1 and column 1.....8
[1,1]=0 is a vales and display to the 1
[1,2]=0 is a vales and display to the 1
[1,3]=x is a no vales and display to the 0
[1,4]=0 is a vales and display to the 1
[1,5]=0 is a vales and display to the 1
[1,6]=x is a no vales and display to the 0
[1,7]=0 is a vales and display to the 1
[1,8]=0 is a vales and display to the 1 ------> 1st Row Completed
Start With Row 2 and Columns 1.....8
[2,1]=x is a no vales and display to the 0
[2,2]=0 is a vales and display to the 1
[2,3]=x is a no vales and display to the 0
[2,4]=x is vales and display to the 0
[2,5]=0 is vales and display to the 1
[2,6]=x is a no vales and display to the 0
[2,7]=x is a no vales and display to the 0
[2,8]=x is a no vales and display to the 0
.
.
.
Upto 15 lines Read the values
Please Quickly reply.....
Thanks to every One.
推荐答案
这篇关于读取图像值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!