Reply To: Pial surface extraction error November 28, 2017 at 12:40 am #967 mike214Participant PS: setting cost function to “least squares” or “standard deviation” does not solve the problem. With standard deviation it looks bit better, but still some remaining brain tissue (frontal cortex) outside of the mask….