Image segmentation Flashcards

1
Q

types of image segmentation?

A
  • By connecting detected edges

- By grouping an image into separate region by area or distinct traits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Image contouring

A
  • Continuous curves that follow edges along a boundary
  • Into about the shape of an object
  • In open cv contours are best detected with white objects against a black background
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

important functions

A
  • cv2.findContours
  • cv2.drawContours
  • fitEllipse
  • boundingRect
  • rectangle
  • HoughLinesP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

contour features

A
  • Every contour has a number of features that you can calculate, including area, orientation (the direction that most of the contour is pointing in), it’s perimeter,
  • http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_contours/py_contour_properties/py_contour_properties.html
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Hough space

A
  • Hough transform converts a line in image space to a point in hough space. Each point could be the slope m and the intercept b o r (m,b)
  • You can also use polar coordinates. is the perpendicular distante from the origin to the closest point in the line and the angle from this point
  • the intersection of lines in hough space is a line in the image space and suggests a detected edge or boundary
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

kmeans clustering

A
  • Divide image in segments by clustering data points with similar traits
  • Unsupervised learning. Machine learning no data labeling
    1) Choose k random center points
    2) Assign each data point to its nearest center point
    3) Take the mean of each cluster. The mean becomes the center point
    4) repeat 2 3 until convergence
How well did you know this?
1
Not at all
2
3
4
5
Perfectly