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

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

View File

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