Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
2853bab4
Commit
2853bab4
authored
Feb 15, 2013
by
Andrey Pavlenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
converting images to PNG
parent
edb15dee
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
2 deletions
+2
-2
img1.bmp
samples/java/sbt/src/main/resources/img1.bmp
+0
-0
img1.png
samples/java/sbt/src/main/resources/img1.png
+0
-0
img2.bmp
samples/java/sbt/src/main/resources/img2.bmp
+0
-0
img2.png
samples/java/sbt/src/main/resources/img2.png
+0
-0
ScalaCorrespondenceMatchingDemo.scala
.../sbt/src/main/scala/ScalaCorrespondenceMatchingDemo.scala
+2
-2
No files found.
samples/java/sbt/src/main/resources/img1.bmp
deleted
100644 → 0
View file @
edb15dee
This diff is collapsed.
Click to expand it.
samples/java/sbt/src/main/resources/img1.png
0 → 100644
View file @
2853bab4
272 KB
samples/java/sbt/src/main/resources/img2.bmp
deleted
100644 → 0
View file @
edb15dee
This diff is collapsed.
Click to expand it.
samples/java/sbt/src/main/resources/img2.png
0 → 100644
View file @
2853bab4
278 KB
samples/java/sbt/src/main/scala/ScalaCorrespondenceMatchingDemo.scala
View file @
2853bab4
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment