public void modifyConfig(String file,String srcImgPath,String dstImgPath)
	{
		Document document;
		try {
			document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(file);
			Element root = document.getDocumentElement();  
			root.getElementsByTagName("srcImgPath").item(0).setTextContent(srcImgPath); 
			root.getElementsByTagName("dstImgPath").item(0).setTextContent(dstImgPath); 
			output(root,file);
		} catch (SAXException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} catch (ParserConfigurationException e) {
			e.printStackTrace();
		}
		
	}