Algorithm 1 Generate the galaxy sampling pattern.
Require: A keypoint pc which represents the galaxy center G, celestial body distribution Dl, and orbital radius Rl for each level l of the galaxy.
1. Let the origin of the coordinate system of R be located at pc.
2. In level 0 do
3. Generate the celestial body subgroup of G.
4. for a = 0 to D1 do
Generate fixed star Fa using Algorithm 2.
Generate celestial body subgroup of Fa.
5. for b = 0 to D2 do
Generate planet Pb using Algorithm 2.
Generate celestial body subgroup of Pb.
6. for c = 0 to D3 do
Generate satellite Sc using Algorithm 2.
7. end for
8. end for
9. end for
10. Return galaxy sampling pattern
In the above algorithm for generating galaxy sampling what does line 3 tells is it that we have to store all the neighbours(subgroup) at centre pixels, and if yes how can we do that