1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

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
@@ -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)