converting images to PNG

This commit is contained in:
Andrey Pavlenko
2013-02-15 16:46:05 +04:00
parent edb15dee3d
commit 2853bab471
5 changed files with 2 additions and 2 deletions

View File

@@ -45,8 +45,8 @@ object ScalaCorrespondenceMatchingDemo {
}
// Load the images from the |resources| directory.
val leftImage = Highgui.imread(getClass.getResource("/img1.bmp").getPath)
val rightImage = Highgui.imread(getClass.getResource("/img2.bmp").getPath)
val leftImage = Highgui.imread(getClass.getResource("/img1.png").getPath)
val rightImage = Highgui.imread(getClass.getResource("/img2.png").getPath)
// Detect KeyPoints and extract descriptors.
val (leftKeyPoints, leftDescriptors) = detectAndExtract(leftImage)