Consistency in the Reconstruction of Patterns from Sample Data