converting images to PNG

pull/301/head
Andrey Pavlenko 12 years ago
parent edb15dee3d
commit 2853bab471
  1. BIN
      samples/java/sbt/src/main/resources/img1.bmp
  2. BIN
      samples/java/sbt/src/main/resources/img1.png
  3. BIN
      samples/java/sbt/src/main/resources/img2.bmp
  4. BIN
      samples/java/sbt/src/main/resources/img2.png
  5. 4
      samples/java/sbt/src/main/scala/ScalaCorrespondenceMatchingDemo.scala

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

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

Loading…
Cancel
Save