Skip to content

Commit

Permalink
Merge pull request IntelRealSense#2362 from IntelRealSense/master
Browse files Browse the repository at this point in the history
Merge of master to development
  • Loading branch information
dorodnic authored Sep 6, 2018
2 parents f152a8e + 283c715 commit 91d4f43
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ In order to contribute to Intel RealSense SDK, please follow our [contribution g

## License
This project is licensed under the [Apache License, Version 2.0](LICENSE).
Copyright 2017 Intel Corporation
Copyright 2018 Intel Corporation
4 changes: 2 additions & 2 deletions wrappers/matlab/points.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
% Destructor (uses base class destructor)

% Functions
function vertcies = get_vertices(this)
function vertices = get_vertices(this)
vertices = realsense.librealsense_mex('rs2::points', 'get_vertices', this.objectHandle);
end
function export_to_ply(this, fname, texture)
Expand All @@ -28,4 +28,4 @@ function export_to_ply(this, fname, texture)
realsense.librealsense_mex('rs2::points', 'size', this.objectHandle);
end
end
end
end
2 changes: 1 addition & 1 deletion wrappers/opencv/grabcuts/rs-grabcuts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ int main(int argc, char * argv[]) try
// Colorize depth image with white being near and black being far
// This will take advantage of histogram equalization done by the colorizer
colorize.set_option(RS2_OPTION_COLOR_SCHEME, 2);
frame bw_depth = colorize(depth);
frame bw_depth = depth.apply_filter(colorize);

// Generate "near" mask image:
auto near = frame_to_mat(bw_depth);
Expand Down
2 changes: 1 addition & 1 deletion wrappers/opencv/imshow/rs-imshow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ int main(int argc, char * argv[]) try
while (waitKey(1) < 0 && cvGetWindowHandle(window_name))
{
rs2::frameset data = pipe.wait_for_frames(); // Wait for next set of frames from the camera
rs2::frame depth = color_map(data.get_depth_frame());
rs2::frame depth = data.get_depth_frame().apply_filter(color_map);

// Query frame size (width and height)
const int w = depth.as<rs2::video_frame>().get_width();
Expand Down

0 comments on commit 91d4f43

Please sign in to comment.