Human and ideal observers for detecting image curves