This paper presents a novel approach for automatic pupil segmentation. The proposed algorithm uses local histogram-based threshold, area and eccentricity that looks for the region that has the highest probability of having the pupil. Proposed algorithm is implemented on FPGA using a non-iterative scheme along with hardware optimized median filter and connected component logic algorithm. The proposed algorithm is tested on two public databases namely: CASIA v1.0 and MMU v1.0. Experimental results show that the proposed method has satisfying performance and good robustness against the reflection in the pupil.