I used points and a distance threshold to define vertex colors from black to white. The resulting black to white color gradient is the important input for Remesh by Color.
You could also use mesh curvature to extract zones of higher detail. Many options
Look at this topic: