ROI of Palmprint Images

Matlab function to detect the Region of Interest (ROI) of Palm-print images in the CASIA Database


Updated 6 Aug 2015

View License

Locating the ROI of Palmprint images is a popular problem in biometrics and image processing. This is the primary step in developing a biometric system based on palmprint image recognition.
The code provided here attempts to locate the ROI of a given palm print image (either left hand or right hand), assuming that the naming convention used by CASIA database is maintained.
Simple alternations of the code should make it usable even for images outside this database. The current code checks the file name to classify the image as either left hand or right hand.
The output ROI will be a 192x192 (uint8) segment of the input image.

The method employed is simple and aimed to provide an efficient calculation. However, further optimizations should be possible since these requirements were not looked into in this version.
Please refer the reference given below for a step-by-step approach to the ROI detection.

You can browse the entire CASIA database at:

References: David Zhang, Wai-Kin Kong, Jane You and Michael Wong, Online Palmprint Identification, published in IEEE Transactions on Pattern Analysis and Machine Intelligence (PAMI) Vol. 25, No. 9, September 2003

Sudaraka Mallawaarachchi - 23/07/2015

Cite As

Sudaraka Mallawaarachchi (2023). ROI of Palmprint Images (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Corrected a small issue with respect to the palm print size. Will not have an impact on the output...

Updated image, included reference and improved the ROI detection accuracy and added an edge detector useful for authentication