Commit 2853bab4 authored by Andrey Pavlenko's avatar Andrey Pavlenko

converting images to PNG

parent edb15dee
This diff is collapsed.
This diff is collapsed.
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment