A method and an electronic device for merging digital datasets in a single multidimensional space are provided. The method comprises: selecting, by the electronic device, (i) at least some of the plurality of first data points and (ii) at least some of the plurality of second data points; matching, by the electronic device, the first data points with the second data points, thereby determining a plurality of pairs; determining, by the electronic device, a pair-specific error value for a given one of the plurality of pairs; determining, by the electronic device, a weight factor for the given one of the plurality of pairs based on a normal vector associated with the given second data point in the given one of the plurality of pairs; and determining, by the electronic device, a global error value for the second dataset.
展开▼