1 | initial version |
The simplest way, that comes to my mind is to save the information into vector like structure, and that structure is saved/readied from file.
For example: 1. Get the size of the image (H and W)
First 2 elements of the vector are the height and width.
After that ,in two nested loops , get every pixel value and put it into the vector
Finally, save the vector value by value, for example in csv file
Because we have the resolution of the image, we can reproduce the input image, without a 1 pixel error.
2 | No.2 Revision |
The simplest way, that comes to my mind is to save the information into vector like structure, and that structure is saved/readied from file.
For example: 1. Get the size of the image (H and W)
First 2 elements of the vector are the height and width.
After that ,in two nested loops , get every pixel value and put it into the vector
Finally, save the vector value by value, for example in csv file
Because we have the resolution of the image, we can reproduce the input image, without a 1 pixel error.
3 | No.3 Revision |
The simplest way, that comes to my mind is to save the information into vector like structure, and that structure is saved/readied from file.
For example: 1. Get the size of the image (H and W)
First 2 elements of the vector are the height and width.
After that ,in two nested loops , get every pixel value and put it into the vector
Finally, save the vector value by value, for example in csv file
Because we have the resolution of the image, we can reproduce the input image, without a pixel error. any difference.
4 | No.4 Revision |
The simplest way, that comes to my mind is to save the information into vector like structure, and that structure is saved/readied from file.
For example:
1. example:
Get the size of the image (H and W)
First 2 elements of the vector are the height and width.
After that ,in two nested loops , get every pixel value and put it into the vector
Finally, save the vector value by value, for example in csv file
Because we have the resolution of the image, we can reproduce the input image, without any difference.