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

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

		originalHisto = ImageUtils.analyzeHistogram(original.getImageData());

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

		return heightHint;
	}