Skip to content
Snippets Groups Projects
Commit 094232c2 authored by LeGuen Yann's avatar LeGuen Yann
Browse files

Update StateDiagramV2.py fix typo

parent 4a744505
No related branches found
No related tags found
No related merge requests found
...@@ -356,7 +356,7 @@ ROIBoxInt = cv2.selectROI("HistROI",cv2.cvtColor((imageDictIn[sorted(imageDictIn ...@@ -356,7 +356,7 @@ ROIBoxInt = cv2.selectROI("HistROI",cv2.cvtColor((imageDictIn[sorted(imageDictIn
cv2.destroyAllWindows() # destroy the cv2 window cv2.destroyAllWindows() # destroy the cv2 window
# plot the histogram of the ROI of the images after appling a gaussian filter # plot the histogram of the ROI of the images after appling a gaussian filter
plt.hist(np.ravel([cropIm(gaussian_filter(im,sigmaGauss),ROIBoxInt) for imList in cropImages.values() for im in imList]),200,histtype="step") plt.hist(np.ravel([cropIm(gaussian_filter(im,sigmaGauss),ROIBoxInt) for imList in imageDictIn.values() for im in imList]),200,histtype="step")
plt.gca().set_yscale('log') plt.gca().set_yscale('log')
plt.show() plt.show()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment