private static int initOriginal(final Display display, Composite inComposite) {
		final Composite original = new Composite(inComposite, SWT.BORDER);
		int heightHint = 0;

		try {
			originalImage = new Image(display, Resource.class.getResourceAsStream(IMAGE_PATH));
			if (originalImage.getImageData().depth != 8 && originalImage.getImageData().depth != 24)
				throw new RuntimeException("Only support 8 bit images. The current image's depth is "
						+ originalImage.getImageData().depth);
		} catch (Exception e1) {
			throw new RuntimeException(e1);
		}
		GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
		gridData.grabExcessHorizontalSpace = true;
		heightHint = originalImage.getImageData().height + 20;
		gridData.heightHint = heightHint;
		original.setLayoutData(gridData);

		originalImageHistogram = ImageUtils.analyzeHistogram(originalImage.getImageData());

		original.addPaintListener(new PaintListener() {
			public void paintControl(PaintEvent event) {
				ImageUtils.paintImage(event.gc, originalImage, originalImageHistogram);
			}
		});

		return heightHint;
	}