ECG Heartbeat Classification Based on Signal-to-Image Transformation Using Convolutional Neural Networks