ImageEn

TIEVisionImage.adaptiveThreshold Code Samples


Code samples for adaptiveThreshold.
Automatically generated by the Every Method demo.
// Automated test of adaptiveThreshold - Typical Values
// TIEVisionImage.adaptiveThreshold at 255 - Type: Mean/Binary
ImageEnView1.IEBitmap.GetIEVisionImage().adaptiveThreshold( 255, ievADAPTIVE_THRESH_MEAN_C, ievTHRESH_BINARY );  // Mean/Binary
ImageEnView1.Update(); // Show changes in our viewer



// Automated test of adaptiveThreshold - Alpha Channel - Typical Values
// TIEVisionImage.adaptiveThreshold at 255 - Type: Mean/Binary
ImageEnView1.IEBitmap.GetIEVisionImage().adaptiveThreshold( 255, ievADAPTIVE_THRESH_MEAN_C, ievTHRESH_BINARY );  // Mean/Binary
ImageEnView1.Update(); // Show changes in our viewer



// Automated test of adaptiveThreshold - 32-Bit RGBA - Typical Values
// TIEVisionImage.adaptiveThreshold at 255 - Type: Mean/Binary
ImageEnView1.IEBitmap.GetIEVisionImage().adaptiveThreshold( 255, ievADAPTIVE_THRESH_MEAN_C, ievTHRESH_BINARY );  // Mean/Binary
ImageEnView1.Update(); // Show changes in our viewer



// Automated test of adaptiveThreshold - 1-bit - Typical Values
// TIEVisionImage.adaptiveThreshold at 255 - Type: Mean/Binary
ImageEnView1.IEBitmap.GetIEVisionImage().adaptiveThreshold( 255, ievADAPTIVE_THRESH_MEAN_C, ievTHRESH_BINARY );  // Mean/Binary
ImageEnView1.Update(); // Show changes in our viewer



// Automated test of adaptiveThreshold - Random Values
// TIEVisionImage.adaptiveThreshold at 128 - Type: Mean/Trunc
ImageEnView1.IEBitmap.GetIEVisionImage().adaptiveThreshold( 128, ievADAPTIVE_THRESH_MEAN_C, ievTHRESH_TRUNC );  // Mean/Trunc
ImageEnView1.Update(); // Show changes in our viewer



// Automated test of adaptiveThreshold - Alpha Channel - Random Values
// TIEVisionImage.adaptiveThreshold at 128 - Type: Mean/Trunc
ImageEnView1.IEBitmap.GetIEVisionImage().adaptiveThreshold( 128, ievADAPTIVE_THRESH_MEAN_C, ievTHRESH_TRUNC );  // Mean/Trunc
ImageEnView1.Update(); // Show changes in our viewer



// Automated test of adaptiveThreshold - 32-Bit RGBA - Random Values
// TIEVisionImage.adaptiveThreshold at 128 - Type: Mean/Trunc
ImageEnView1.IEBitmap.GetIEVisionImage().adaptiveThreshold( 128, ievADAPTIVE_THRESH_MEAN_C, ievTHRESH_TRUNC );  // Mean/Trunc
ImageEnView1.Update(); // Show changes in our viewer



// Automated test of adaptiveThreshold - 1-bit - Random Values
// TIEVisionImage.adaptiveThreshold at 128 - Type: Mean/Trunc
ImageEnView1.IEBitmap.GetIEVisionImage().adaptiveThreshold( 128, ievADAPTIVE_THRESH_MEAN_C, ievTHRESH_TRUNC );  // Mean/Trunc
ImageEnView1.Update(); // Show changes in our viewer