Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Richard Torenvliet
eos
Commits
4bf772b9
Commit
4bf772b9
authored
Aug 01, 2015
by
patrikhuber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unnecessary viewport width and height arguments
parent
27de5ab5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
include/eos/render/texture_extraction.hpp
include/eos/render/texture_extraction.hpp
+2
-4
No files found.
include/eos/render/texture_extraction.hpp
View file @
4bf772b9
...
@@ -50,15 +50,13 @@ enum class TextureInterpolation {
...
@@ -50,15 +50,13 @@ enum class TextureInterpolation {
*
*
* @param[in] mesh A mesh with texture coordinates.
* @param[in] mesh A mesh with texture coordinates.
* @param[in] affine_camera_matrix An estimated 3x4 affine camera matrix.
* @param[in] affine_camera_matrix An estimated 3x4 affine camera matrix.
* @param[in] viewport_width Screen width.
* @param[in] viewport_height Screen height.
* @param[in] image The image to extract the texture from.
* @param[in] image The image to extract the texture from.
* @param[in] depthbuffer A precalculated depthbuffer image.
* @param[in] depthbuffer A pre
-
calculated depthbuffer image.
* @param[in] mapping_type The interpolation type to be used for the extraction.
* @param[in] mapping_type The interpolation type to be used for the extraction.
* @param[in] isomap_resolution The resolution of the generated isomap. Defaults to 512x512.
* @param[in] isomap_resolution The resolution of the generated isomap. Defaults to 512x512.
* @return The extracted texture as isomap (texture map).
* @return The extracted texture as isomap (texture map).
*/
*/
inline
cv
::
Mat
extract_texture
(
Mesh
mesh
,
cv
::
Mat
affine_camera_matrix
,
int
viewport_width
,
int
viewport_height
,
cv
::
Mat
image
,
cv
::
Mat
depthbuffer
,
TextureInterpolation
mapping_type
,
int
isomap_resolution
=
512
)
inline
cv
::
Mat
extract_texture
(
Mesh
mesh
,
cv
::
Mat
affine_camera_matrix
,
cv
::
Mat
image
,
cv
::
Mat
depthbuffer
,
TextureInterpolation
mapping_type
,
int
isomap_resolution
=
512
)
{
{
assert
(
mesh
.
vertices
.
size
()
==
mesh
.
texcoords
.
size
());
assert
(
mesh
.
vertices
.
size
()
==
mesh
.
texcoords
.
size
());
...
...
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