Published October 13, 2020 | Journal article | Version v1 | https://doi.org/10.21105/joss.02481

PyMatting: A Python Library for Alpha Matting

Files

joss.02481.pdf

Files (1.8 MB)

Name Size Download all
md5:6d24a04af6f687ced1f34375de5a2ade
1.8 MB Preview Download

Additional details

Dates

Issued
October 13, 2020

References

  1. Fan, Z., Lu, J., Wei, C., Huang, H., Cai, X., & Chen, X. (2019). A Hierarchical Image Matting Model for Blood Vessel Segmentation in Fundus Images. IEEE Transactions on Image Processing, 28(5), 2367–2377. https://doi.org/10.1109/tip.2018.2885495
  2. Yin, Z., Li, K., Kanade, T., & Chen, M. (2010). Understanding the Optics to Aid Microscopy Image Segmentation. In Lecture Notes in Computer Science (pp. 209–217). Springer Berlin Heidelberg. https://doi.org/10.1007/978-3-642-15705-9_26
  3. Kanade, T., Yin, Z., Bise, R., Huh, S., Eom, S., Sandbothe, M. F., & Chen, M. (2011, January). Cell image analysis: Algorithms, system and applications. 2011 IEEE Workshop on Applications of Computer Vision (WACV). https://doi.org/10.1109/wacv.2011.5711528
  4. Chen, Q., Li, D., & Tang, C.-K. (2013). KNN Matting. IEEE Transactions on Pattern Analysis and Machine Intelligence, 35(9), 2175–2188. https://doi.org/10.1109/tpami.2013.18
  5. Fast Multi-Level Foreground Estimation, Germer, Thomas and Uelwer, Tobias and Conrad, Stefan and Harmeling, Stefan, 2020, 2006.14970, arXiv, cs.CV
  6. Klöckner, A., Pinto, N., Lee, Y., Catanzaro, B., Ivanov, P., & Fasih, A. (2012). PyCUDA and PyOpenCL: A scripting-based approach to GPU run-time code generation. Parallel Computing, 38(3), 157–174. https://doi.org/10.1016/j.parco.2011.09.001
  7. Levin, A., Lischinski, D., & Weiss, Y. (2008). A Closed-Form Solution to Natural Image Matting. IEEE Transactions on Pattern Analysis and Machine Intelligence, 30(2), 228–242. https://doi.org/10.1109/tpami.2007.1177
  8. Yuanjie Zheng, & Kambhamettu, C. (2009). Learning based digital matting. 2009 IEEE 12th International Conference on Computer Vision, 889–896. https://doi.org/10.1109/iccv.2009.5459326
  9. Random walks for interactive alpha-matting, Grady, Leo and Schiwietz, Thomas and Aharon, Shmuel and Westermann, Rüdiger, Proceedings of VIIP, 2005, 423–429, 2005
  10. Ernest Orlando Lawrence Berkeley National Laboratory, B. C. (US) ., Demmel, J., USDOE Director, O. of S. O. of A. S. C. R. M. I. and C. S. D., Foundation, N. S., DE-FG03-94ER25219, D. G., (US), D.-F.-. 94ER25206 ., Gilbert, J., & Li, X. (1999). SuperLU users' guide. In Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States). Office of Scientific and Technical Information (OSTI). https://doi.org/10.2172/751785
  11. Davis, T. A. (2004). Algorithm 832. ACM Transactions on Mathematical Software, 30(2), 196–199. https://doi.org/10.1145/992200.992206
  12. Demidov, D. (2019). AMGCL: An Efficient, Flexible, and Extensible Algebraic Multigrid Implementation. Lobachevskii Journal of Mathematics, 40(5), 535–546. https://doi.org/10.1134/s1995080219050056
  13. Amestoy, P. R., Duff, I. S., L'Excellent, J.-Y., & Koster, J. (2001). A Fully Asynchronous Multifrontal Solver Using Distributed Dynamic Scheduling. SIAM Journal on Matrix Analysis and Applications, 23(1), 15–41. https://doi.org/10.1137/s0895479899358194
  14. Amestoy, P. R., Guermouche, A., L’Excellent, J.-Y., & Pralet, S. (2006). Hybrid scheduling for the parallel solution of linear systems. Parallel Computing, 32(2), 136–156. https://doi.org/10.1016/j.parco.2005.07.004
  15. Guennebaud, Gaël and Jacob, Benoît and others, Eigen v3, http://eigen.tuxfamily.org, 2010
  16. Olson, L. N. and Schroder, J. B., PyAMG: Algebraic Multigrid Solvers in Python v4.0, 2018, https://github.com/pyamg/pyamg, Release 4.0
  17. He, K., Sun, J., & Tang, X. (2010). Fast matting using large kernel matting Laplacian matrices. 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2165–2172. https://doi.org/10.1109/cvpr.2010.5539896
  18. Rhemann, C., Rother, C., Wang, J., Gelautz, M., Kohli, P., & Rott, P. (2009). A perceptually motivated online benchmark for image matting. 2009 IEEE Conference on Computer Vision and Pattern Recognition, 1826–1833. https://doi.org/10.1109/cvpr.2009.5206503
  19. Scalable matting: A sub-linear approach, Lee, Philip G and Wu, Ying, arXiv preprint arXiv:1404.3933, 2014
  20. Kershaw, D. S. (1978). The incomplete Cholesky—conjugate gradient method for the iterative solution of systems of linear equations. Journal of Computational Physics, 26(1), 43–65. https://doi.org/10.1016/0021-9991(78)90098-0
  21. Lide, D. R. (2018). Methods of Conjugate Gradients for Solving Linear Systems. In A Century of Excellence in MEASUREMENTS, STANDARDS, and TECHNOLOGY (pp. 81–85). CRC Press. https://doi.org/10.1201/9781351069397-24
  22. Lee, P., & Wu, Y. (2011). Nonlocal matting. CVPR 2011, 2193–2200. https://doi.org/10.1109/cvpr.2011.5995665
  23. Jones, M. T., & Plassmann, P. E. (1995). An improved incomplete Cholesky factorization. ACM Transactions on Mathematical Software, 21(1), 5–17. https://doi.org/10.1145/200979.200981

Citations

  1. Zeng, W., Jiang, X., Chen, Q., Zhang, J., Fan, C., & Yang, Z. (2025). Assessing the impact of low‐temperature stress during anthesis stage on winter wheat grain development through computer vision and machine learning. Journal of the Science of Food and Agriculture, 105(12), 6392–6405. https://doi.org/10.1002/jsfa.14355
  2. Chan, D.-Y., Chou, J. E., Wang, J.-F., Lin, C.-C., & Xu, Y.-J. (2025). Seamless Torso-Clothes Fitting Virtual Try-On Network in Generic Cluttered Backgrounds. In Lecture Notes in Electrical Engineering (pp. 285–297). Springer Nature Singapore. https://doi.org/10.1007/978-981-95-2113-5_30
  3. Lai, S., Cui, L., & Yin, J. (2025). Fast radiance field reconstruction from sparse inputs. Pattern Recognition, 157, Article 110863. https://doi.org/10.1016/j.patcog.2024.110863
  4. Lin, R., Zong, H., Xu, P., Gao, S., & Ge, S. (2025). Low-cost 3D human body reconstruction under limited views and girth measurement for the apparel customisation. Ergonomics, 68(12), 2011–2028. https://doi.org/10.1080/00140139.2024.2449113
  5. Goswami, A., Singh, A. R., Banterle, F., Debattista, K., & Bashford-Rogers, T. (2025). Semantic Aware Diffusion Inverse Tone Mapping. Journal of Physics: Conference Series, 3128(1), 012009. https://doi.org/10.1088/1742-6596/3128/1/012009
  6. Zhang, P., Wang, S., Wang, M., Chen, P., Wu, W., Wang, X., & Kwong, S. (2025). HNR-ISC: Hybrid Neural Representation for Image Set Compression. IEEE Transactions on Multimedia, 27, 28–40. https://doi.org/10.1109/tmm.2024.3521715
  7. Diepeveen, M. H., Lathouwers, D., José Santo, R., Hoogeman, M. S., & Habraken, S. J. M. (2024). Two-dimensional oxygen-diffusion modelling for FLASH proton therapy with pencil beam scanning—Impact of diffusive tissue properties, dose, dose rate and scan patterns. Physics in Medicine & Biology, 69(15), 155020. https://doi.org/10.1088/1361-6560/ad5eee
  8. Uno, K., Matsuoka, T., Uchida, A., & Yoshida, K. (2024). Structure from Motion-based Motion Estimation and 3D Reconstruction of Unknown Shaped Space Debris. 2024 IEEE 20th International Conference on Automation Science and Engineering (CASE), 1283–1288. https://doi.org/10.1109/case59546.2024.10711467
  9. Huang, K., Zhang, F.-L., Zhao, J., Li, Y., & Dodgson, N. (2024). 360$^\circ$ Stereo Image Composition With Depth Adaption. IEEE Transactions on Visualization and Computer Graphics, 30(9), 6177–6191. https://doi.org/10.1109/tvcg.2023.3327943
  10. https://doi.org/10.1145/3592390
  11. Liu, C., Liang, Y., & Wen, W. (2022). Fire Image Augmentation based on Diverse Alpha Compositing for Fire Detection. 2022 15th International Congress on Image and Signal Processing, BioMedical Engineering and Informatics (CISP-BMEI), 1–6. https://doi.org/10.1109/cisp-bmei56279.2022.9979846
  12. Kiyokawa, T., Katayama, H., Tatsuta, Y., Takamatsu, J., & Ogasawara, T. (2021). Robotic Waste Sorter With Agile Manipulation and Quickly Trainable Detector. IEEE Access, 9, 124616–124631. https://doi.org/10.1109/access.2021.3110795
  13. Germer, T., Uelwer, T., Conrad, S., & Harmeling, S. (2021). Fast Multi-Level Foreground Estimation. 2020 25th International Conference on Pattern Recognition (ICPR), 1104–1111. https://doi.org/10.1109/icpr48806.2021.9412408
  14. Demidov, D. (2020). AMGCL —A C++ library for efficient solution of large sparse linear systems. Software Impacts, 6, Article 100037. https://doi.org/10.1016/j.simpa.2020.100037