Skip to content

Commit 2853bab

Browse files
author
Andrey Pavlenko
committed
converting images to PNG
1 parent edb15de commit 2853bab

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed
-1.46 MB
Binary file not shown.
272 KB
Loading
-1.46 MB
Binary file not shown.
278 KB
Loading

samples/java/sbt/src/main/scala/ScalaCorrespondenceMatchingDemo.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ object ScalaCorrespondenceMatchingDemo {
4545
}
4646

4747
// Load the images from the |resources| directory.
48-
val leftImage = Highgui.imread(getClass.getResource("/img1.bmp").getPath)
49-
val rightImage = Highgui.imread(getClass.getResource("/img2.bmp").getPath)
48+
val leftImage = Highgui.imread(getClass.getResource("/img1.png").getPath)
49+
val rightImage = Highgui.imread(getClass.getResource("/img2.png").getPath)
5050

5151
// Detect KeyPoints and extract descriptors.
5252
val (leftKeyPoints, leftDescriptors) = detectAndExtract(leftImage)

0 commit comments

Comments
 (0)