User Tools

Site Tools


opencv_tutorials_t7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
opencv_tutorials_t7 [2016/06/07 15:52]
joaomatos
opencv_tutorials_t7 [2016/06/07 15:57] (current)
joaomatos
Line 57: Line 57:
 } }
  
-//Function to create a window with the Trackbars to apply the Thresholding.+//Function to create a window with the Trackbars to apply the Threshold.
 void createTrackbars() { void createTrackbars() {
   
Line 84: Line 84:
  //Defining the erode and dilate properties  //Defining the erode and dilate properties
  //the erode element chosen here is a 3x3 piexels rectangle.  //the erode element chosen here is a 3x3 piexels rectangle.
- //Change the Size argument to optimize your thresholding.  + //Change the Size argument to optimize your threshold.  
- //dilate with 8x8 size element to make the thresholding ​object more visible+ //dilate with 8x8 size element to make the threshold ​object more visible
  
  Mat erodeElement = getStructuringElement(MORPH_RECT,​ Size(3, 3));  Mat erodeElement = getStructuringElement(MORPH_RECT,​ Size(3, 3));
Line 301: Line 301:
  
 <Code C++ linenums:​45>​ <Code C++ linenums:​45>​
-//Function to create a window with the Trackbars to apply the Thresholding.+//Function to create a window with the Trackbars to apply the Threshold.
 void createTrackbars() { void createTrackbars() {
   
Line 332: Line 332:
  //Defining the erode and dilate properties  //Defining the erode and dilate properties
  //the erode element chosen here is a 3x3 piexels rectangle.  //the erode element chosen here is a 3x3 piexels rectangle.
- //Change the Size argument to optimize your thresholding.  + //Change the Size argument to optimize your threshold.  
- //dilate with 8x8 size element to make the thresholding ​object more visible+ //dilate with 8x8 size element to make the threshold ​object more visible
    
  Mat erodeElement = getStructuringElement(MORPH_RECT,​ Size(3, 3));  Mat erodeElement = getStructuringElement(MORPH_RECT,​ Size(3, 3));
opencv_tutorials_t7.txt · Last modified: 2016/06/07 15:57 by joaomatos