【问题标题】:Display several 2d image as a stack in R在 R 中将多个 2d 图像显示为堆栈
【发布时间】:2018-10-11 19:56:45
【问题描述】:

如何在 R 中显示多个 2d 图像的堆栈以形成 3d 图像?如果有人可以与示例共享代码,那将非常有帮助。enter link description here

【问题讨论】:

    标签: r powerbi


    【解决方案1】:

    请参阅 magick 包的小插图。 https://github.com/ropensci/magick/blob/master/vignettes/intro.Rmd

    在 Image Vectors - Combining 下,它显示了如何使用偏移量组合多个图层。听起来你会做这样的事情:

    library(magick)
    combo <- image_composite(layer1, layer2, offset = "+0+50")
    combo <- image_composite(combo , layer3, offset = "+0+50")
    combo <- image_composite(combo , layer4, offset = "+0+50")
    

    【讨论】:

    • 嗨,乔恩,感谢您的热情回复。
    猜你喜欢
    • 2014-09-20
    • 2012-12-03
    • 1970-01-01
    • 1970-01-01
    • 2020-04-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-05-25
    相关资源
    最近更新 更多