Extracting features related to minutiae and pores