Marthee commited on
Commit
3ee8c39
·
verified ·
1 Parent(s): 208f1e7

Update pilecaps_adr.py

Browse files
Files changed (1) hide show
  1. pilecaps_adr.py +1 -1
pilecaps_adr.py CHANGED
@@ -753,7 +753,7 @@ def FillDictionary(SimilarAreaDictionary,img,ratioarea,ratioperim,contourssP,con
753
  areaPerimeterMax= round(item1,1) + 0.4
754
  # print (areaMin, areaMax)
755
  if color != [0,0,0]: #colored images
756
- mydata=[[],[rgbcolor[0],rgbcolor[1],rgbcolor[2] ],round(item1,1),width1,height1,1, 0,0,0,0,0,0,'',0,0,0]
757
  else:
758
  mydata=[[],' ', round(item1,1),width1,height1,1, 0,0,0,0,0,0,'',0,0,0]
759
  myindex= SimilarAreaDictionary.index[((SimilarAreaDictionary['Rounded'] >=areaPerimeterMin) &(SimilarAreaDictionary['Rounded']<=areaPerimeterMax) )].tolist()
 
753
  areaPerimeterMax= round(item1,1) + 0.4
754
  # print (areaMin, areaMax)
755
  if color != [0,0,0]: #colored images
756
+ mydata=[[],[rgbcolor[0],rgbcolor[1],rgbcolor[2] ],round(item1,1),width1,height1,1, 0,0,0,0,0,0,'',0,0,0,'']
757
  else:
758
  mydata=[[],' ', round(item1,1),width1,height1,1, 0,0,0,0,0,0,'',0,0,0]
759
  myindex= SimilarAreaDictionary.index[((SimilarAreaDictionary['Rounded'] >=areaPerimeterMin) &(SimilarAreaDictionary['Rounded']<=areaPerimeterMax) )].tolist()