public static void exportImageAsSpreadSheet(SegmentedImage image, String oName){
		Workbook wb = new HSSFWorkbook();
		
		dumpImageToSheet(image, wb);
		
		try{
			FileOutputStream out = new FileOutputStream(oName + ".xls");
			wb.write(out);
			out.close();
		} catch (Exception e){
			e.printStackTrace();
		}
	}