A process model for psychophysical judgment