diff --git a/Code/lsrmGraphToOtbImage.txx b/Code/lsrmGraphToOtbImage.txx
index 48d70841444e3a4ecb63a113d4f8b40cf8e6b91c..9042bec00f32b0430d94fd1a71a940bd3a4473bd 100644
--- a/Code/lsrmGraphToOtbImage.txx
+++ b/Code/lsrmGraphToOtbImage.txx
@@ -54,72 +54,6 @@ namespace lsrm
 		
 		return fillFilter->GetOutput();
 	}
-
-	/*template<class TGraph>
-	typename GraphToOtbImage<TGraph>::ClusteredImageType::Pointer
-	GraphToOtbImage<TGraph>::GetClusteredOutput(const GraphType& graph,
-												const unsigned int width,
-												const unsigned int height)
-	{
-		ClusteredImageType::IndexType index;
-		ClusteredImageType::SizeType size;
-		ClusteredImageType::RegionType region;
-
-		index[0] = 0; index[1] = 0;
-		size[0] = width; size[1] = height;
-		region.SetIndex(index);
-		region.SetSize(size);
-
-		ClusteredImageType::Pointer clusterImg = ClusteredImageType::New();
-		clusterImg->SetRegions(region);
-		clusterImg->SetNumberOfComponentsPerPixel(3);
-		clusterImg->Allocate();
-
-		ClusteredImageType::PixelType pixelValue;
-		pixelValue.Reserve(3);
-		pixelValue[0] = 0;
-		pixelValue[1] = 0;
-		pixelValue[2] = 0;
-
-		using ClusterImageIterator = itk::ImageRegionIterator<ClusteredImageType>;
-		ClusterImageIterator it(clusterImg, clusterImg->GetLargestPossibleRegion());
-		for(it.GoToBegin();!it.IsAtEnd(); ++it)
-			it.Set(pixelValue);
-
-		srand(time(NULL));
-		unsigned char c1, c2, c3;
-		for(auto& region : graph.m_Nodes)
-		{
-			c1 = rand() % 256;
-			c2 = rand() % 256;
-			c3 = rand() % 256;
-
-			lp::CellLists borderPixels;
-			ContourOperator::GenerateBorderCells(borderPixels, region->m_Contour, region->m_Id, width);
-			
-			for (auto& pix : borderPixels)
-			{
-				index[0] = pix % width;
-				index[1] = pix / width;
-				pixelValue[0] = c1;
-				pixelValue[1] = c2;
-				pixelValue[2] = c3;
-				clusterImg->SetPixel(index, pixelValue);
-			}
-		}
-
-		
-		for(it.GoToBegin(); !it.IsAtEnd(); ++it)
-		{
-			auto pixel = it.Get();
-			if(pixel[0] == 0 && pixel[1] == 0 && pixel[2] == 0)
-				it.Set(pixelValue);
-			else
-				pixelValue = pixel;
-		}
-		
-		return clusterImg;
-	}*/
 		
 } // end of namespace lsrm
 #endif