私はバクテリアのイメージの下で働いており、バクテリアの数をイメージから取ることを望んでおり、特定の形状とサイズのバクテリアを分類する必要もあります。 私はopencv pythonを使用しています。今私は輪郭法を使用します。len(等高線)とはどういう意味ですか?
contours,hierarchy = cv2.findContours(dst,1,2)
cnt = contours[0]
l = len(contours)
print l
li = list(contours)
print li
これにより、l = 115およびli =いくつかの配列値が出力されます。 これは何を意味しますか?各輪郭点のnumpyの配列である輪郭(X 2列のリストを返すcv2.findCountours
http://docs.opencv.org/2.4/doc/tutorials/imgproc/shapedescriptors/find_contours/find_contours.htmlはお返事 – meera