fixed pep8
This commit is contained in:
parent
dcfa11694c
commit
1c4e9f2597
|
@ -36,21 +36,9 @@
|
||||||
# public static void cvCalcHist(IplImageArray arr, CvHistogram hist,
|
# public static void cvCalcHist(IplImageArray arr, CvHistogram hist,
|
||||||
# int accumulate/*=0*/, CvArr mask/*=null*/) {
|
# int accumulate/*=0*/, CvArr mask/*=null*/) {
|
||||||
# org.bytedeco.javacpp.opencv_imgproc.cvCalcArrHist(arr, hist, accumulate, mask);
|
# org.bytedeco.javacpp.opencv_imgproc.cvCalcArrHist(arr, hist, accumulate, mask);
|
||||||
|
|
||||||
# 7 javacpp's python api doesn't seem to support keyword arguments
|
# 7 javacpp's python api doesn't seem to support keyword arguments
|
||||||
#
|
|
||||||
# 8 as org.bytedeco.javacpp.opencv* knows nothing about imagej, the package ijopencv provides conversion functions that convert images from imagej's ImageProcessor to org.bytedeco.javacpp.opencv_core.Mat and vice versa
|
# 8 as org.bytedeco.javacpp.opencv* knows nothing about imagej, the package ijopencv provides conversion functions that convert images from imagej's ImageProcessor to org.bytedeco.javacpp.opencv_core.Mat and vice versa
|
||||||
|
|
||||||
# histogram = opencv_imgproc.calcHist(images=[src_image], channels=[0], mask=None, histSize=[256], ranges=[0, 256])
|
|
||||||
# histogram = opencv_imgproc.calcHist(src_image, 0, None, 3, [256], [0.0, 256.0], True, False)
|
|
||||||
# print(dir(opencv_imgproc))
|
|
||||||
# help(opencv_imgproc.cvCalcHist)
|
|
||||||
# opencv_imgproc.calcHist(src_image, None, histogram)
|
|
||||||
# histogram = opencv_imgproc.cvCalcHist(src_image, None, [256], [0.0, 256.0])
|
|
||||||
# import inspect
|
|
||||||
# lines = inspect.getsource(opencv_imgproc.calcHist)
|
|
||||||
# opencv_imgproc.calcHist(src_image, histogram)
|
|
||||||
|
|
||||||
# there are 2 calcHist functions in /Applications/Fiji.app/jars/opencv-3.4.2-1.4.2.jar, and they take 6 or 7 arguments :
|
# there are 2 calcHist functions in /Applications/Fiji.app/jars/opencv-3.4.2-1.4.2.jar, and they take 6 or 7 arguments :
|
||||||
# jar -xvf /Applications/Fiji.app/jars/opencv-3.4.2-1.4.2.jar
|
# jar -xvf /Applications/Fiji.app/jars/opencv-3.4.2-1.4.2.jar
|
||||||
# [1]graffy@pr079234:~/toto/jython[15:18:17]>javap ./org/opencv/imgproc/Imgproc.class | grep calcHist
|
# [1]graffy@pr079234:~/toto/jython[15:18:17]>javap ./org/opencv/imgproc/Imgproc.class | grep calcHist
|
||||||
|
|
Loading…
Reference in New Issue