private void executeBinarization(Operation oper) {
		/*
		 * Executam operatia (generare de XML + rulare executabil) In urma
		 * executiei, operatia are completata calea catre fisierul de output
		 * ("outputFile")
		 */
		oper.execute();

		// Se construieste checkboxul cu fotografie
		final JCheckBox box = new JCheckBox();
		String path = ((ComplexTypeParameter) oper.getParameter("outputFile"))
				.getAttribute("name").getValue();
		int width = imageScrollPane.getSize().width - 70;
		int height = 150;

		Image image = ImageViewer.buildImage(path);
		ImageIcon myPicture = new ImageIcon(image);

		JLabel label = new JLabel(myPicture);
		int size = imageList.size();
		label.setAlignmentX(LEFT_ALIGNMENT);
		label.setIcon(myPicture);
		label.setPreferredSize(new Dimension(myPicture.getIconWidth(),
				myPicture.getIconHeight()));
		label.setBorder(BorderFactory.createLineBorder(Color.BLACK));
		box.setPreferredSize(new Dimension(20, 30));

		/*
		 * Ascultator pentru checkbox Daca se bifeaza aces checkbox si deja sunt
		 * bifate alte 2 checkboxuri se inlocuieste primul bifat cu acesta Daca
		 * se debifeaza acest checkbox, atunci el se elimina din vectorul
		 * checkboxurilor selectate
		 */
		box.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent arg0) {
				java.awt.EventQueue.invokeLater(new Runnable() {
					public void run() {
						if (box.isSelected()) {
							if (checkedImages.size() == 2) {
								JCheckBox jcb = checkedImages.get(0);
								jcb.setSelected(false);
								checkedImages.remove(0);
							}
							checkedImages.add(box);
						} else {
							checkedImages.remove(box);
						}
					}
				});

			}
		});

		// Salvez checkboxul
		allImages.add(box);

		// Construiesc un panel care va cuprinde checkboxul si Label-ul cu
		// imaginea
		JPanel containerPanel = new JPanel();

		containerPanel.setMaximumSize(new Dimension(32767, 32767));
		containerPanel.setMinimumSize(new Dimension(100 + myPicture
				.getIconWidth(), myPicture.getIconHeight()));
		containerPanel.setPreferredSize(new Dimension(100 + myPicture
				.getIconWidth(), myPicture.getIconHeight()));
		containerPanel.setSize(100 + myPicture.getIconWidth(),
				myPicture.getIconHeight());
		containerPanel.setLocation(1, size * 180 + 1);
		containerPanel.add(box);
		containerPanel.add(label);

		label.setToolTipText(oper.toString2());
	
		// Se salveaza containerul
		containerList.add(containerPanel);

		// Se salveaza perechea checkbox-cale imagine intr-un Hastable
		imageList.put(box, path);
		// Se salveaza perechea checkbox-label intr-un Hashtable , pentru update
		labelList.put(box, label);

		// Se adauga panelul nou creat in lista din dreapta
		newImgPanel.add(containerPanel);
		newImgPanel.add(Box.createVerticalStrut(10));
		imageScrollPane.revalidate();
		imageScrollPane.repaint();
	}