Here we have points corresponding to pixels in the image.
Hence the regular/square grid that is proportionate to the image dimensions
Not clear as to what yo’re trying to achieve. You’ll need to elaborate.
There may be a simpler approach than complicating the grid