Research Article

Heterogeneous Hadoop Cluster-Based Image Processing Workload Distribution Framework between CPU and GPU

Table 1

The CPU-GPU class.

Class
Public class CPU-GPU
Methods

Public staticsetSplitSize()
Each division size is determined using this method.

Public staticGPUDetect (float pixels, int width, int height).
Processing of GPU is determined using this method.

Public voidCalculateRatio (BufferedImage bi, int width, int height).
The ratio between GPU and CPU can be calculated using this method.

Public static voidConcat (BufferedImage bi, int c).
Using this method, the images are concatenated into a single bundle.

Public static buffered image[]Split (int c, int width, int height).
This method divides data into equal splits.