Skip to main content
. 2019 Mar 28;19(7):1521. doi: 10.3390/s19071521
Algorithm 1. The pseudo code to generate learning cases
1. N = 50000; % The number of cases
2. for 1: N
3.  random selection of the number of objects; % set of NumberOfObjects variable
4. for 1: NumberOfObjects
5.   random selection of the object’s location; % center and radius
6. end
7.  adding an output image to the set of training cases; % saving response data
8.  determination of voltages and adding Gaussian noise; % Gaussian noise = randn(1, 96) × 5 × 10−5
9.  saving the values of voltages to the training set; % saving input data
10. end