Photoacoustic Imaging, Feature Extraction, and Machine Learning Implementation for Ovarian and Colorectal Cancer Diagnosis