Porous Texture interpolation is implemented here. Assume you have got two
binary maps of zeros and ones which gives a texture similar to a porous media. If you want to find
a hybrid combination of two textures, this code helps you.
You can control the similarity weight (W).
example:
B=InterpPorous(A1,A2,W)
A1 and A2 are two 3-D or 2D arrays with the same size contain only zero
and one, W is the similarity weight between 0 to 1, which 1 means 100%
similarity to A1 texture and vice versa.
If you use this code in your research please cite this paper: https://arxiv.org/abs/2005.03759
Also, the used methodology is described there.
By Arash Rabbani
rabarash@yahoo.com
www.arashrabbani.com
Rabbani, A., Shams, R., & Babaei, M. (2020). DeePore: a deep learning workflow for rapid and comprehensive characterization of porous materials. arXiv preprint arXiv:2005.03759.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.