private static void initBilinear(Composite inComposite, int heightHint) {
		final Composite toolbar = new Composite(inComposite, SWT.BORDER);
		final Composite imageContainer = new Composite(inComposite, SWT.BORDER);
		GridData toolbarGridData = new GridData(GridData.FILL_HORIZONTAL);

		toolbarGridData.grabExcessHorizontalSpace = true;
		toolbar.setLayoutData(toolbarGridData);
		final Text txt = new Text(toolbar, SWT.BORDER);
		txt.setText("1.5");
		toolbar.setLayout(new GridLayout(2, false));
		Button button = new Button(toolbar, SWT.PUSH);
		button.setText("Scale (Bilinear)");
		button.setBounds(0, 0, 100, 30);
		button.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, true, true, 1, 1));
		button.addListener(SWT.MouseDown, new Listener() {
			public void handleEvent(Event event) {
				float tx = 1.5f;

				try {
					tx = Float.parseFloat(txt.getText());
				} catch (Exception e) {
					e.printStackTrace();
				}
				bilinear(tx);
				ImageUtils.paintImage(new GC(imageContainer), bilinear, bilinearHisto);
			}

		});
		GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
		gridData.grabExcessHorizontalSpace = true;
		gridData.heightHint = original.getImageData().height*3+20;
		imageContainer.setLayoutData(gridData);
		imageContainer.addListener(SWT.Paint, new Listener() {
			public void handleEvent(Event event) {
				ImageUtils.paintImage(event.gc, bilinear, bilinearHisto);
			}
		});
	}