Computer-vision schemes for lung and breast cancer detection