"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "skimage/measure/_marching_cubes_lewiner_cy.pyx" between
scikit-image-0.19.1.tar.gz and scikit-image-0.19.2.tar.gz

About: scikit-image is a collection of algorithms for image processing in Python.

_marching_cubes_lewiner_cy.pyx  (scikit-image-0.19.1):_marching_cubes_lewiner_cy.pyx  (scikit-image-0.19.2)
skipping to change at line 718 skipping to change at line 718
self.v12_y = self.y + stp * fy / ff self.v12_y = self.y + stp * fy / ff
self.v12_z = self.z + stp * fz / ff self.v12_z = self.z + stp * fz / ff
# Also pre-calculate gradient of center # Also pre-calculate gradient of center
# note that prepare_for_adding_triangles() must have been called for # note that prepare_for_adding_triangles() must have been called for
# the gradient data to exist. # the gradient data to exist.
self.v12_xg = ( v0*self.vg[0*3+0] + v1*self.vg[1*3+0] + v2*self.vg[2*3+0 ] + v3*self.vg[3*3+0] + self.v12_xg = ( v0*self.vg[0*3+0] + v1*self.vg[1*3+0] + v2*self.vg[2*3+0 ] + v3*self.vg[3*3+0] +
v4*self.vg[4*3+0] + v5*self.vg[5*3+0] + v6*self.vg[6*3+0 ] + v7*self.vg[7*3+0] ) v4*self.vg[4*3+0] + v5*self.vg[5*3+0] + v6*self.vg[6*3+0 ] + v7*self.vg[7*3+0] )
self.v12_yg = ( v0*self.vg[0*3+1] + v1*self.vg[1*3+1] + v2*self.vg[2*3+1 ] + v3*self.vg[3*3+1] + self.v12_yg = ( v0*self.vg[0*3+1] + v1*self.vg[1*3+1] + v2*self.vg[2*3+1 ] + v3*self.vg[3*3+1] +
v4*self.vg[4*3+1] + v5*self.vg[5*3+1] + v6*self.vg[6*3+1 ] + v7*self.vg[7*3+1] ) v4*self.vg[4*3+1] + v5*self.vg[5*3+1] + v6*self.vg[6*3+1 ] + v7*self.vg[7*3+1] )
self.v12_xg = ( v0*self.vg[0*3+2] + v1*self.vg[1*3+2] + v2*self.vg[2*3+2 ] + v3*self.vg[3*3+2] + self.v12_zg = ( v0*self.vg[0*3+2] + v1*self.vg[1*3+2] + v2*self.vg[2*3+2 ] + v3*self.vg[3*3+2] +
v4*self.vg[4*3+2] + v5*self.vg[5*3+2] + v6*self.vg[6*3+2 ] + v7*self.vg[7*3+2] ) v4*self.vg[4*3+2] + v5*self.vg[5*3+2] + v6*self.vg[6*3+2 ] + v7*self.vg[7*3+2] )
# Set flag that this stuff is calculated # Set flag that this stuff is calculated
self.v12_calculated = 1 self.v12_calculated = 1
cdef class Lut: cdef class Lut:
""" Representation of a lookup table. """ Representation of a lookup table.
The tables are initially defined as numpy arrays. On initialization, The tables are initially defined as numpy arrays. On initialization,
this class converts them to a C array for fast access. this class converts them to a C array for fast access.
This class defines functions to look up values using 1, 2 or 3 indices. This class defines functions to look up values using 1, 2 or 3 indices.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)