Let $(X,d)$ be a metric space. If set $A\subseteq X$, let $H^{\alpha}$ be the $\alpha$-dimensional Hausdorff measure on $A$, where $\alpha\in[0,2]$ and $\text{dim}_{\text{H}}(A)$ is the Hausdorff dimension of set $A$.
Motivation: If the set $A\subseteq[0,1]\times[0,1]$, I would like to measure set $A$'s deviation from a uniform subset $A^{\prime}$ of $[0,1]\times[0,1]$ with Hausdorff dimension $\alpha$, where:
If set $A^{\prime}\subseteq[0,1]\times[0,1]$ has Hausdorff dimension $\alpha$ less than $2$; for all real $x_1,x_2\in J_n$ where sequence of sets $(J_n)_{n\in\mathbb{N}}=(\left\{1/n,2/n,3/n,\cdot\cdot\cdot,1\right\})_{n\in\mathbb{N}}$, if $0\le x_1<x_2\le 1$ and $\mu$ is the counting measure where:
$$\mu^{\star}(A)=\begin{cases} 1/\mu(A) & \mu(A)<+\infty\\ 0 & \mu(A)=+\infty \end{cases}$$
with $\mu^{\star}(A)< x_2-x_1\le 1$; we get $A^{\prime}$ is uniform in $[0,1]\times[0,1]$, when for $j\in\mathbb{N}$ and $j< n$, the number of squares $[x_1,x_2]\times[x_1,x_2]$ with area $j^2/n^2$ satisfying:
$$H^{\alpha}(([x_1,x_2]\times[x_1,x_2])\cap A^{\prime})=H^{\alpha}(\text{dom}(A^{\prime})){H}^{\alpha}(\text{range}(A^{\prime}))(x_2-x_1)^2$$ divided by the total # of squares with area $j^2/n^2$ approaches $1$ as $n,j\to\infty$ and $j/n\to 0$.
Moreover, I want to define a measure of uniformity to be between (and including) zero and one (or zero and infinity) such that the larger the measure, the smaller the non-uniformity.
Question: How do we define such a measure?