Ask Your Question

PengGuanjun's profile - activity

2020-10-20 15:33:53 -0500 received badge  Popular Question (source)
2018-05-11 02:40:12 -0500 commented question How to combine the integral image with the adaptive threshold?

enter code here # -*- coding: utf-8 -*- import sys import numpy as np import cv2 def adaptiveThresh(I,winSize,ratio=0.1

2018-05-11 02:39:15 -0500 commented question How to combine the integral image with the adaptive threshold?

enter code here # -*- coding: utf-8 -*- import sys import numpy as np import cv2 def adaptiveThresh(I,winSize,ratio=0.1

2018-05-11 02:38:54 -0500 commented question How to combine the integral image with the adaptive threshold?

enter code here # -*- coding: utf-8 -*- import sys import numpy as np import cv2 def adaptiveThresh(I,winSiz

2018-05-11 02:38:32 -0500 commented question How to combine the integral image with the adaptive threshold?

-- coding: utf-8 -- import sys import numpy as np import cv2 def adaptiveThresh(I,winSize,ratio=0.15):

2018-05-11 02:38:01 -0500 commented question How to combine the integral image with the adaptive threshold?

enter code here # -- coding: utf-8 -- import sys import numpy as np import cv2 def adaptiveThresh(I,winS

2018-05-11 02:35:12 -0500 commented question How to combine the integral image with the adaptive threshold?

-- coding: utf-8 -- import sys import numpy as np import cv2 def adaptiveThresh(I,winSize,ratio=0.15): #第一步:对图像矩阵进行

2018-05-10 22:12:28 -0500 asked a question How to combine the integral image with the adaptive threshold?

How to combine the integral image with the adaptive threshold? Hi! The integral image is three-channel. I got it. After

2018-05-03 02:59:57 -0500 marked best answer How to call integral() in python directly ?

I use integral() in the link, but I don't get the correct integral image.

My code is the following:

import cv2
snap = cv2.imread("image.png")
global sum
imageIntegral =   cv2.integral( snap, sum ,-1 )
imshow("Integral Image",imageIntegral);  
waitKey();

Error message:

Blockquote Traceback (most recent call last): File "C:/Users/MaiBenBen/Desktop/FASeg.py", line 6, in <module> imageIntegral = cv2.integral( snap, sum ,-1 ) TypeError: sum is not a numpy array, neither a scalar

2018-05-03 02:32:45 -0500 commented answer How to call integral() in python directly ?

thanks a lot. If it is a picture, the following code is also valid import cv2 import numpy as np image = cv2.imrea

2018-05-03 01:25:08 -0500 commented answer How to call integral() in python directly ?

thanks a lot. If it is a picture, the following code is also valid enter code here import cv2 import numpy as np i

2018-05-03 01:15:27 -0500 commented answer How to call integral() in python directly ?

thanks a lot

2018-05-02 22:13:06 -0500 received badge  Editor (source)
2018-05-02 22:13:06 -0500 edited question How to call integral() in python directly ?

How to call integral() in python directly ? I use integral() in the link, but I don't get the correct integral image.

2018-05-02 22:09:35 -0500 commented question How to call integral() in python directly ?

I've been looking for a long time and still haven't found an example of python calling integral(). This link is more det

2018-05-02 20:48:48 -0500 asked a question How to call integral() in python directly ?

How to call integral() in python directly ? I use integral() in the link, but I don't get the correct integration chart

2018-03-29 20:26:20 -0500 asked a question How to operate area filtering ?

How to operate area filtering ? I use open and close operate to deal with the original image below,but I have not remove

2018-03-10 06:22:18 -0500 received badge  Enthusiast
2018-03-09 18:49:57 -0500 commented question How to avoid contours being reduced

Sorry, I haven't written any code to handle. I am using the open source software imagej analysis to get the effect chart

2018-03-08 03:52:33 -0500 asked a question How to avoid contours being reduced

How to avoid contours being reduced Good afternoon everyone. I have the sticky block separated, but the profile is too s

2018-03-04 00:03:32 -0500 asked a question ImageJ+OpenCV-Finding rocks fragmentation contour in opencast environment

ImageJ+OpenCV-Finding rocks fragmentation contour in opencast environment Hi all. I have a trouble with finding the corr