julianluthor
Programmer
how can i display Cluster1[0][n]in .dat file?Below is my code..
Code:
...
for(int j=0;j<DataHeight;j++)
{
for(int i=0;i<DataWidth;i++)
{
Data[i][j]=(unsigned char)(((float)dataconv[j][i]-min)/(max-min)*255);
if (Data[i][j]==170)
{
Cluster1[0][n]=Data[i][j];
n++;
}
}
}