Atlas preprocessing