Insert pore space instead of a sphere/grain? #337
-
I'm sorry if I missed this in the documentation, but is there an easy way currently in the code to insert a hole in a grain? I think I could do this with insert shape but there might be an easier way. My goal is to leverage porespy to systematically add a secondary/much smaller porosity to an existing segmented image for reference. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
First of all, I'm loving that this is a 'discussion' rather than an 'issue'. I will attempt to answer. It sound like you have a tomography image of large features (i.e. rock grains) and you wan to add holes to the grains, or something like that. You have a few options:
|
Beta Was this translation helpful? Give feedback.
First of all, I'm loving that this is a 'discussion' rather than an 'issue'. I will attempt to answer.
It sound like you have a tomography image of large features (i.e. rock grains) and you wan to add holes to the grains, or something like that.
You have a few options:
im = ~im
), then multiply, then revert back. Below is the basic idea and result: