Home
last modified time | relevance | path

Searched refs:_channels (Results 1 – 25 of 28) sorted by relevance

12

/external/opencv3/modules/core/misc/java/src/java/
Dcore+MatOfKeyPoint.java11 private static final int _channels = 7; field in MatOfKeyPoint
19 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfKeyPoint()
30 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfKeyPoint()
42 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
50 float buff[] = new float[num * _channels]; in fromArray()
53 buff[_channels*i+0] = (float) kp.pt.x; in fromArray()
54 buff[_channels*i+1] = (float) kp.pt.y; in fromArray()
55 buff[_channels*i+2] = kp.size; in fromArray()
56 buff[_channels*i+3] = kp.angle; in fromArray()
57 buff[_channels*i+4] = kp.response; in fromArray()
[all …]
Dcore+MatOfDMatch.java11 private static final int _channels = 4; field in MatOfDMatch
19 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfDMatch()
30 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfDMatch()
42 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
51 float buff[] = new float[num * _channels]; in fromArray()
54 buff[_channels*i+0] = m.queryIdx; in fromArray()
55 buff[_channels*i+1] = m.trainIdx; in fromArray()
56 buff[_channels*i+2] = m.imgIdx; in fromArray()
57 buff[_channels*i+3] = m.distance; in fromArray()
67 float buff[] = new float[num * _channels]; in toArray()
[all …]
Dcore+MatOfRect.java10 private static final int _channels = 4; field in MatOfRect
18 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfRect()
29 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfRect()
41 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
49 int buff[] = new int[num * _channels]; in fromArray()
52 buff[_channels*i+0] = (int) r.x; in fromArray()
53 buff[_channels*i+1] = (int) r.y; in fromArray()
54 buff[_channels*i+2] = (int) r.width; in fromArray()
55 buff[_channels*i+3] = (int) r.height; in fromArray()
66 int buff[] = new int[num * _channels]; in toArray()
[all …]
Dcore+MatOfPoint3f.java9 private static final int _channels = 3; field in MatOfPoint3f
17 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfPoint3f()
28 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfPoint3f()
40 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
48 float buff[] = new float[num * _channels]; in fromArray()
51 buff[_channels*i+0] = (float) p.x; in fromArray()
52 buff[_channels*i+1] = (float) p.y; in fromArray()
53 buff[_channels*i+2] = (float) p.z; in fromArray()
63 float buff[] = new float[num * _channels]; in toArray()
66 ap[i] = new Point3(buff[i*_channels], buff[i*_channels+1], buff[i*_channels+2]); in toArray()
Dcore+MatOfPoint3.java9 private static final int _channels = 3; field in MatOfPoint3
17 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfPoint3()
28 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfPoint3()
40 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
48 int buff[] = new int[num * _channels]; in fromArray()
51 buff[_channels*i+0] = (int) p.x; in fromArray()
52 buff[_channels*i+1] = (int) p.y; in fromArray()
53 buff[_channels*i+2] = (int) p.z; in fromArray()
63 int buff[] = new int[num * _channels]; in toArray()
66 ap[i] = new Point3(buff[i*_channels], buff[i*_channels+1], buff[i*_channels+2]); in toArray()
Dcore+MatOfPoint2f.java9 private static final int _channels = 2; field in MatOfPoint2f
17 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfPoint2f()
28 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfPoint2f()
40 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
48 float buff[] = new float[num * _channels]; in fromArray()
51 buff[_channels*i+0] = (float) p.x; in fromArray()
52 buff[_channels*i+1] = (float) p.y; in fromArray()
62 float buff[] = new float[num * _channels]; in toArray()
65 ap[i] = new Point(buff[i*_channels], buff[i*_channels+1]); in toArray()
Dcore+MatOfPoint.java9 private static final int _channels = 2; field in MatOfPoint
17 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfPoint()
28 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfPoint()
40 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
48 int buff[] = new int[num * _channels]; in fromArray()
51 buff[_channels*i+0] = (int) p.x; in fromArray()
52 buff[_channels*i+1] = (int) p.y; in fromArray()
62 int buff[] = new int[num * _channels]; in toArray()
65 ap[i] = new Point(buff[i*_channels], buff[i*_channels+1]); in toArray()
Dcore+MatOfDouble.java9 private static final int _channels = 1; field in MatOfDouble
17 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfDouble()
28 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfDouble()
40 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
46 int num = a.length / _channels; in fromArray()
52 int num = checkVector(_channels, _depth); in toArray()
55 double[] a = new double[num * _channels]; in toArray()
Dcore+MatOfFloat.java9 private static final int _channels = 1; field in MatOfFloat
17 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfFloat()
28 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfFloat()
40 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
46 int num = a.length / _channels; in fromArray()
52 int num = checkVector(_channels, _depth); in toArray()
55 float[] a = new float[num * _channels]; in toArray()
Dcore+MatOfFloat6.java9 private static final int _channels = 6; field in MatOfFloat6
17 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfFloat6()
28 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfFloat6()
40 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
46 int num = a.length / _channels; in fromArray()
52 int num = checkVector(_channels, _depth); in toArray()
55 float[] a = new float[num * _channels]; in toArray()
Dcore+MatOfFloat4.java9 private static final int _channels = 4; field in MatOfFloat4
17 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfFloat4()
28 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfFloat4()
40 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
46 int num = a.length / _channels; in fromArray()
52 int num = checkVector(_channels, _depth); in toArray()
55 float[] a = new float[num * _channels]; in toArray()
Dcore+MatOfByte.java9 private static final int _channels = 1; field in MatOfByte
17 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfByte()
28 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfByte()
40 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
46 int num = a.length / _channels; in fromArray()
52 int num = checkVector(_channels, _depth); in toArray()
55 byte[] a = new byte[num * _channels]; in toArray()
Dcore+MatOfInt4.java10 private static final int _channels = 4; field in MatOfInt4
18 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfInt4()
29 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfInt4()
41 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
47 int num = a.length / _channels; in fromArray()
53 int num = checkVector(_channels, _depth); in toArray()
56 int[] a = new int[num * _channels]; in toArray()
Dcore+MatOfInt.java10 private static final int _channels = 1; field in MatOfInt
18 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfInt()
29 if( !empty() && checkVector(_channels, _depth) < 0 ) in MatOfInt()
41 super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); in alloc()
47 int num = a.length / _channels; in fromArray()
53 int num = checkVector(_channels, _depth); in toArray()
56 int[] a = new int[num * _channels]; in toArray()
/external/ImageMagick/Magick++/lib/
DStatistic.cpp423 : _channels() in ImageMoments()
428 : _channels(imageMoments_._channels) in ImageMoments()
439 for (std::vector<ChannelMoments>::const_iterator it = _channels.begin(); in channel()
440 it != _channels.end(); ++it) in channel()
449 : _channels() in ImageMoments()
469 _channels.push_back(Magick::ChannelMoments(channel, in ImageMoments()
472 _channels.push_back(Magick::ChannelMoments(CompositePixelChannel, in ImageMoments()
481 : _channels() in ImagePerceptualHash()
487 : _channels(imagePerceptualHash_._channels) in ImagePerceptualHash()
492 : _channels() in ImagePerceptualHash()
[all …]
/external/ImageMagick/Magick++/lib/Magick++/
DStatistic.h240 std::vector<ChannelMoments> _channels;
278 std::vector<ChannelPerceptualHash> _channels;
303 std::vector<ChannelStatistics> _channels;
/external/opencv3/3rdparty/openexr/IlmImf/
DImfPxr24Compressor.cpp188 _channels (hdr.channels()) in Pxr24Compressor()
299 for (ChannelList::ConstIterator i = _channels.begin(); in compress()
300 i != _channels.end(); in compress()
444 for (ChannelList::ConstIterator i = _channels.begin(); in uncompress()
445 i != _channels.end(); in uncompress()
DImfPizCompressor.cpp182 _channels (hdr.channels()), in PizCompressor()
346 for (ChannelList::ConstIterator c = _channels.begin(); in compress()
347 c != _channels.end(); in compress()
522 for (ChannelList::ConstIterator c = _channels.begin(); in uncompress()
523 c != _channels.end(); in uncompress()
DImfB44Compressor.cpp481 _channels (hdr.channels()), in B44Compressor()
661 for (ChannelList::ConstIterator c = _channels.begin(); in compress()
662 c != _channels.end(); in compress()
894 for (ChannelList::ConstIterator c = _channels.begin(); in uncompress()
895 c != _channels.end(); in uncompress()
DImfPxr24Compressor.h99 const ChannelList & _channels; variable
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dfake_frame_generator.py36 self._channels = channels
47 self._channels), np.uint8)
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_pxm.cpp375 int _channels = img.channels(), depth = (int)img.elemSize1()*8; in write() local
376 int channels = _channels > 1 ? 3 : 1; in write()
424 if( _channels == 3 ) in write()
437 if( _channels == 1 ) in write()
Dgrfmt_jpeg.cpp595 int _channels = img.channels(); in write() local
596 int channels = _channels > 1 ? 3 : 1; in write()
692 if( _channels == 3 ) in write()
697 else if( _channels == 4 ) in write()
/external/opencv/otherlibs/highgui/
Dgrfmt_pxm.cpp376 int width, int height, int depth, int _channels ) in WriteImage() argument
381 int channels = _channels > 1 ? 3 : 1; in WriteImage()
419 if( _channels == 3 ) in WriteImage()
432 if( _channels == 1 ) in WriteImage()
Dgrfmt_jpeg.cpp431 int width, int height, int /*depth*/, int _channels ) in WriteImage() argument
439 int channels = _channels > 1 ? 3 : 1; in WriteImage()
471 if( _channels == 3 ) in WriteImage()
476 else if( _channels == 4 ) in WriteImage()
1620 int width, int height, int /*depth*/, int _channels ) in WriteImage() argument
1640 int channels = _channels > 1 ? 3 : 1; in WriteImage()
1747 const uchar* rgb_data = data + x*_channels; in WriteImage()
1761 for( j = 0; j < x_limit; j++, rgb_data += _channels ) in WriteImage()
1777 rgb_data -= x_limit*_channels; in WriteImage()

12