Commit Graph

3708 Commits

Author SHA1 Message Date
Johannes Schönberger 20afa7edae Add doc string to point in polygon functions 2012-08-21 15:49:18 +02:00
Johannes Schönberger 878554ac35 Fix indentation 2012-08-21 15:45:18 +02:00
Johannes Schönberger c471d475eb Refactor pnpoly function in Cython and add to shared package 2012-08-21 15:43:26 +02:00
Johannes Schönberger a08779e06a Use predefined header files from Cython 2012-08-21 15:15:27 +02:00
Johannes Schönberger 3b227e226d Add nearest neighbour interpolation 2012-08-21 09:20:59 +02:00
Johannes Schönberger ba171937a1 Remove unused imports 2012-08-21 09:05:18 +02:00
Johannes Schönberger 7247384882 Add integrate function to shared package 2012-08-21 08:59:29 +02:00
Johannes Schönberger 824997af0a Move bilinear interpolation code to shared package 2012-08-21 08:32:20 +02:00
Johannes Schönberger d87ed28d8e Add new package for shared code 2012-08-21 08:20:57 +02:00
Stefan van der Walt 1c3aeec2a8 BUG: Remove uses of xrange for py3 compatibility. 2012-08-20 15:25:40 -07:00
Stefan van der Walt 39569e8f9e Merge pull request #256 from NeilYager/skeleton_fix
BUG: Fix skeletonize LUT.
2012-08-20 14:50:51 -07:00
Stefan van der Walt b4fa79d6dd Merge pull request #206 from amueller/felsenzwalb
ENH: MRG Segmentation algorithms.
2012-08-20 14:43:33 -07:00
Stefan van der Walt 73332f9959 Merge pull request #239 from ahojnnes/texture
ENH: Add local binary patterns for texture characterization.

Conflicts:
	CONTRIBUTORS.txt
2012-08-20 14:37:30 -07:00
Andreas Mueller 6b1dab9f9a MISC move felzenszwalb_cy.pyx to _felzenszwalb_cy.pyx, don't use xrange when not necessary 2012-08-20 22:30:58 +01:00
pcampr 673d4ec212 several fixes and 3 new tests for Histograms of Oriented Gradients 2012-08-20 14:29:01 -07:00
pcampr 6761f131ad fixed imports 2012-08-20 14:29:01 -07:00
pcampr 298c1f1890 fixing multiple bugs in hog.py, adding two tests to test_hog.py 2012-08-20 14:29:01 -07:00
Pavel Campr 25d94b36c6 fix hog.py - orientation and visualization 2012-08-20 14:29:01 -07:00
Neil Yager d7d1faec46 Fix bug in skeletonize LUT 2012-08-20 21:56:10 +01:00
Johannes Schönberger 014b490578 Fix import bug due to rebase 2012-08-20 22:50:35 +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 53472b8e07 Rename matrix transform function and remove from pxd 2012-08-20 22:48:35 +02:00
Johannes Schönberger b5e2b01620 Add doc string to bilinear_interpolation 2012-08-20 22:48:35 +02:00
Johannes Schönberger 6cefa4ad62 Wrap column 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 0ca7933a7d Share bilinear interpolation function for other code
Make bilinear_interpolation function callable by other cython code and change
fast_homography to use this function. Also, improve performance of some
functions by making them inline and fix broken test of fast_homography.
2012-08-20 22:48:35 +02:00
Johannes Schönberger 0fbbed525f improve doc string of local_binary_pattern function 2012-08-20 22:48:34 +02:00
Johannes Schönberger 55c3ec84e5 fix test cases for local binary pattern
test results changed because border handling of bilinear interpolation changed
2012-08-20 22:48:34 +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
Johannes Schönberger 234fb68ee7 make local binary pattern example script use skimage sample images 2012-08-20 22:46:57 +02:00
Johannes Schönberger fa352bacd4 fix typos in doc string and comment 2012-08-20 22:46:57 +02:00
Johannes Schönberger 82868dd41b apply PEP8 guidelines 2012-08-20 22:46:57 +02:00
Johannes Schönberger d9444e7612 add local binary pattern texture analysis 2012-08-20 22:46:57 +02:00
Andreas Mueller fe2a4334fa ENH addressed (hopefully all) of Tony's and Stefan's comments. 2012-08-20 20:22:06 +01:00
Andreas Mueller 37c0ffe072 cosmit: changed the names of x and y to r and c. that was no fun, i tell you. 2012-08-20 20:01:41 +01:00
Stefan van der Walt 6410905b3b BUG: Fix broken import in ctmf. 2012-08-20 07:55:17 -07:00
Tony S Yu 682f064f86 DOC: Fix docstring to match rank order. 2012-08-19 16:23:14 -04:00
Tony S Yu b5d9106966 ENH: Use Cython data types instead of Numpy dtypes.
Conversion to Memoryviews didn't improve performance, unfortunately. Minor slow-down of 5--10%.
2012-08-19 11:56:16 -04:00
Johannes Schönberger d511bd8429 fix comment 2012-08-19 13:06:27 +02:00
Johannes Schönberger 6ea4827f9d add test case for polynomial transform initialization 2012-08-19 13:04:58 +02:00
Johannes Schönberger 195bdc8c00 complete default matrix initialization of geometric transforms 2012-08-19 13:02:03 +02:00
Tony S Yu b614b34eab ENH: Add test of reconstruction by erosion. 2012-08-18 23:20:49 -04:00
Tony S Yu 3ad1ed3a28 DOC: Remove peak detection tutorial.
The tutorial needs a lot of work and isn't a crucial part of this PR. Note: tutorial saved in a separate branch.
2012-08-18 23:09:47 -04:00
Tony S Yu 79fca0e20d DOC: Reorder docstring sections. 2012-08-18 21:54:06 -04:00
Tony S Yu ab7626da3d STY: Rename variables for clarity.
In particular, it wasn't clear whether `image` was the seed image or the mask image rnd `values` was used to refer to both image intensity values and their rank-order.
2012-08-18 21:41:01 -04:00