Commit Graph

27 Commits

Author SHA1 Message Date
Julian Taylor 87c72ae60f BUG: add signed flag to chars
Sign of char is undefined and there are numerous places where its sign
is important. Fixes tests with -funsigned-char.
Closes gh-1110
2014-09-05 23:51:39 +02:00
Pietro Berkes 1a909cbc79 Fix LBP variance calculation. 2014-04-01 21:06:15 +01:00
Neeraj Gangwar 7a164d274d minor changes in syntax in _glcm_loop method.
Using round in place of floor in _texture.pyx to calculate the pixel offset.
2014-03-17 09:53:09 +05:30
Neeraj Gangwar f3a1a9ed7e corrected the formula to calculate the location of
offset pixel in _texture.pyx
2014-03-15 10:42:50 +05:30
Johannes Schönberger bfb0cfce2f Speed up memory views in local_binary_pattern 2013-10-18 20:49:49 +02:00
Alexis Mignon 7b022c8b5f Finalized changes. Added reference for non rotation-invariant uniform patterns. Added test case. Modified comments to clarify the process, and changed the code to make it more consistent with explanations and actuall encoding 2013-08-25 14:56:13 +02:00
Alexis Mignon eae691cf21 Corrected duplicate variable declarations, variable name change from 'var_index' to 'rot_index' and corrected minor bugs 2013-08-22 15:24:49 +02:00
Alexis Mignon 22873b803f Added non rotation invariant local binary patterns 2013-08-22 15:05:22 +02:00
Johannes Schönberger 5b38bdac59 Fix missing conversion of typed memoryview to numpy array 2013-08-17 23:07:00 +02:00
Johannes Schönberger 3172f508d6 Use typed memoryviews in feature package 2013-08-17 22:35:13 +02:00
Johannes Schönberger 62d83ad42c Globally change np to cnp if cimported 2013-02-24 14:14:14 +01:00
Johannes Schönberger 3125e63fce Improve performance and type usage for GLCM loop 2013-02-22 17:05:39 +01:00
Johannes Schönberger cf09c582b6 Fix index type error in GLCM 2013-02-22 17:05:39 +01:00
Johannes Schönberger 614023b941 Replace ssize_t with Py_ssize_t globally 2013-02-22 17:05:38 +01:00
Johannes Schönberger 6026ddd9a2 Change type to ssize_t for all index and size variables 2013-02-22 17:03:12 +01:00
Johannes Schönberger 9b44e24f8e Use function pointer for different interpolation methods 2012-08-30 07:33:39 +02:00
Johannes Schönberger 32afefef23 Fix doc string of texture detection 2012-08-26 00:08:29 +02:00
Johannes Schönberger af708d2e00 Fix typo in Cython compiler directives 2012-08-25 08:43:42 +02:00
Johannes Schönberger 824997af0a Move bilinear interpolation code to shared package 2012-08-21 08:32:20 +02:00
Johannes Schönberger 321e3aefa8 Add doc string to Cython version of LBP 2012-08-20 22:48:35 +02:00
Johannes Schönberger 2b7cb5f630 Make different methods of LBP more readable in Cython code 2012-08-20 22:48:35 +02:00
Johannes Schönberger 36b22d7819 Use numpy dtype objects instead of strings 2012-08-20 22:48:35 +02:00
Johannes Schönberger 37f5ab47a6 Fix typo in doc string 2012-08-20 22:48:35 +02:00
Johannes Schönberger f11b76e709 Add full-stop at end of short doc string description 2012-08-20 22:48:35 +02:00
Johannes Schönberger 70b7745a34 Use shared bilinear interpolation function and improve performance. 2012-08-20 22:48:35 +02:00
Johannes Schönberger bfa5578979 fix bilinear interpolation when position outside of image 2012-08-20 22:48:34 +02:00
Johannes Schönberger a6bdda8291 rewrite local binary pattern in Cython for performance reasons 2012-08-20 22:48:34 +02:00