Tutorial 9 - Surface - How to elaborate images
More...
Tutorial 9 - Surface - How to elaborate images
In this tutorial you can find what do you need to elaborate images in your system with a minimal integration of SB library. To elaborate an image you have to call the function sb_project_detection and get the results with the function sb_cs.SbProject.GetRes .
The function sb_cs::SbProject::Detection needs 2 things:
- a sb_cs.SbImage, the image to be processed.
To create the image you can choose between two different procedures depending if you already have the raw image in the memory or not:
- a sb_cs.SbRoi, the ROI (Region Of Interest) that specifies the region of the image to be processed.
To create a ROI you have to call the function sb_cs.SbRoi.Create and then to draw the region using the functions sb_cs.SbRoi.SetRect , sb_cs.SbRoi.SetCircle, sb_cs.SbRoi.SetEllipse , sb_cs.SbRoi.SetCircularCrown , or draw the ROI manually setting pixel by pixel.
For more details see ROI management
- See also
- sb_cs.Sb.Init, sb_cs.Sb.Release, sb_cs.SbLicense.GetInfo, sb_cs.SbSolution.GetInfo, sb_cs.SbProject.Load, sb_cs.SbProject.Detection, sb_cs.SbProject.GetRes, sb_cs.SbProject.SurfaceBlobAnalysis, sb_cs.SbImage.Load, sb_cs.SbFolder.Load, sb_cs.SbRoi.Create, sb_cs.SbRoi.SetRect
Definition at line 41 of file SurfaceDetect.cs.
The documentation for this class was generated from the following file: