private void imageBrightness() {
		String str = JOptionPane.showInputDialog(this, "Enter amount of brightness adjusted", "Input",
		        JOptionPane.QUESTION_MESSAGE);
		int nBrightness = Integer.parseInt(str);
		resultImage = ImageProcessor.brighteningImage(inputImage, nBrightness);
		imagePanelProcessed.setImage(resultImage);
		infoBar.setText(" Info.: Brightness of color image is adjusted");
		addToImageBuffer(resultImage);
		textProcessed.setVisible(false);
		frameProcessed.setVisible(true);
	}