Skip to content
Discussion options

You must be logged in to vote

Hi @qingqi-code. The problem is with the boundary_width that SNOW adds for dealing with boundary pores. This offsets your network by the number of voxels given to the boundary_width argument. The default is 3. To correct for this, you can add 3 voxels (or whatever the boundary width is) to pn['pore.coords']. This works for tiff images, however, to get the example image you showed, I typically use stl. This may be a different approach but it has worked for me. I wrote a code snippet for you that does this in stl and shifts the pore.coords accordingly. Although I set the boundary_width to zero, that is no boundary pores, I still shifted the network by 10 voxels because, for some reason, the…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@likeduck
Comment options

Comment options

You must be logged in to vote
1 reply
@qingqi-code
Comment options

Answer selected by qingqi-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants