A study on computer-aided diagnosis for wireless capsule endoscopy images