标签: 

正在查看 27 个帖子:1-27 (共 27 个帖子)
  • 作者
    帖子
  • @11878 回复 ⚑举报 

    农民工学美术
    游客

    各位老师好

    这幅图可以找到碎片,请问利用Dezoomify来拼接?谢谢

    www.emuseum.jp/detai...#038;num=2

    @11880 回复 ⚑举报 

    未曾
    管理员

    2022年12月11日提醒

    可以使用类似IIIF下载获取方法获取大图

    以下就方法不推荐


    不能在线直接拼图

    可以使用dezoomify-rs拼图
    github.com/lovas...zoomify-rs

    命令如下

    dezoomify-rs --accept-invalid-certs tiles.yaml result.png

    宽高信息可以由此获取

    tiles.yaml范例如下

    url_template: "https://emuseum.nich.go.jp/img/content/100146001001/1/d6/{{x/256+1}}_{{y/256+1}}.jpeg"
    
    variables:
    - name: x
    from: 1
    to: 7179
    step: 256
    
    - name: y
    from: 1
    to: 11633
    step: 256
    
    - name: tile_size
    value: 256
    
    headers:
    Referer: "https://emuseum.nich.go.jp"
    @11887 回复 ⚑举报 

    小白猪
    游客

    老师请教一下,这么什么问题。

    @11888 回复 ⚑举报 

    未曾
    管理员

    1,YAML 大小写敏感;
    2,使用缩进代表层级关系;
    3,缩进只能使用空格,不能使用 TAB,不要求空格个数,只需要相同层级左对齐

    参见: www.shuge.org/meet/...#post-6223

    --
    下载范例(可在此基础上修改):tiles.yaml
    yun.daoon.com/wl/?i...x45rsNZmv1

    @11889 回复 ⚑举报 

    小白猪
    游客

    感谢老师,终于成功了。非常感谢!

    @11892 回复 ⚑举报 

    农民工学美术
    游客

    看了好多帖子,操作的时候一直出问题,不是方法不好用,而是我对这些一无所知,不过真的没有下载到,最后直接下载了所有碎片,一个个拼接吧。

    还是谢谢老师们的讲解,如果您有时间,可否给我们这些介绍的再详细些?不胜感激

    @12039 回复 ⚑举报 

    农民工学美术
    游客

    各位老师,按照站长的方法我下载了图片,但是中途卡顿严重,而且经常出现 timeout,还请站长给个建议,谢谢。

    @12040 回复 ⚑举报 

    未曾
    管理员

    @农民工学美术 #12039

    有些碎片有丢包,这说明你的网络环境访问外网不太好。

    @12041 回复 ⚑举报 

    农民工学美术
    游客

    是的。有的时候要关掉vpn才可以下载。开着vpn浏览很快,但是下载的时候出现error。

    谢谢老师。

    @12042 回复 ⚑举报 

    未曾
    管理员

    @农民工学美术 #12041

    因为VPN可能是局部代理,或仅适用于浏览器。

    你可以试试加上 参数(--parallelism 8 --retries 8)试试(限制同时下载的碎片数目)。下载可能会慢一些

    dezoomify-rs --parallelism 8 --retries 8 tiles.yaml result.jpg
    @13345 回复 ⚑举报 

    魔法毛竹
    游客

    老师您好!目前只下载了 dezoomify-rs Windows版,打开如下图所示。因是计算机编码小白,不知道该如何使用这个软件,请问如上网址的此类文献如何使用 dezoomify-rs 拼图,有具体教程帮助操作么?非常感谢老师百忙之中帮助解答!

     

    @16055 回复 ⚑举报 

    岁暮
    游客

    未曾先生:此法能否做个完整流程简解,老朽愚钝,望先生一助。恭请道安。

    @33086 回复 ⚑举报 

    游客

    你好,请问您学会E国宝的拼接方法了吗?请教一下

    @33141 回复 ⚑举报 

    游客

    各位老师好,为下载e国宝上的《四季山水图》(https://emuseum.nich.go.jp/detail?langId=zh&webView=&content_base_id=100310&content_part_id=0&content_pict_id=0),我参照范例帖子写了如下tiles.yaml文件,但失败了。想请教一下是哪里出了问题?

     

     

     

     

     

    url_template: "https://emuseum.nich.go.jp/img/content/100310001003/3/d8/{{x/256+1}}_{{y/256+1}}.jpeg"

    variables:
    - name: x
    from: 1
    to: 15362
    step: 256

    - name: y
    from: 1
    to: 29521
    step: 256

    - name: tile_size
    value: 256

    headers:
    Referer: "https://emuseum.nich.go.jp"

    @33142 回复 ⚑举报 

    未曾
    管理员

    @琳 #33141

    你可以用这个文件测试
    yun.daoon.com/wl/?i...x45rsNZmv1

    @33152 回复 ⚑举报 

    游客

    @未曾 #33142

    未曾先生早上好,这个我昨天测试过,是可以的。

    @33161 回复 ⚑举报 

    游客

    @琳 #33152

     

    我按下面这个来,结果只导出一半的图,为啥啊?

    # This is a tiles.yaml file for dezoomify-rs
    # For more information about how to adapt this file to your use case, see:
    # github.com/lovas...L-dezoomer

    # The url of individual tiles, where {{ expressions }} will be evaluated using the variables below
    url_template: "https://emuseum.nich.go.jp/img/content/100310001003/3/d8/{{x}}_{{y}}.jpeg"

    # x_template and y_template tell dezoomify-rs where to place a tile on the canvas once it has been downloaded
    # Here, for instance, the tile at (x=1, y=1) goes to position (256, 256)
    x_template: "x * tile_size"
    y_template: "y * tile_size"

    variables:
    - { name: x, from: 1, to: 61 } # Image width, in tiles
    - { name: y, from: 1, to: 61 } # Image height, in tiles
    - { name: tile_size, value: 256 }

    headers:
    # Specifying a Referer makes the server believe we come from that URL.
    Referer: "https://emuseum.nich.go.jp"

    # Specifying the width and height of the full image is not mandatory,
    # But giving them allows dezoomify-rs to work more efficiently.
    width: 15362
    height: 29521

    # The title is not mandatory either, but it makes dezoomify-rs
    # create a file with an appropriate filename
    title: "ABC"

    @33162 回复 ⚑举报 

    游客

    可以啦可以啦!终于成功啦!!谢谢!!

    @33197 回复 ⚑举报 

    tigershuai
    游客

    @未曾 #11880

    这张e国宝里的图https://emuseum.nich.go.jp/detail?langId=ja&webView=&content_base_id=100149&content_part_id=0&content_pict_id=0

    开发者工具里没有发现长宽信息

    @33198 回复 ⚑举报 

    未曾
    管理员

    @tigershuai #33197

    大致如图

    @78144 回复 ⚑举报 

    九载
    游客

    @琳 #33161

    你这个后面怎么操作的啊,成功了啊,我也是只能下载半张。

    我要下载这个

    emuseum.nich.go.jp/detai...8;webView=

    这个代码请您帮我看看对不对

    url_template: "https://emuseum.nich.go.jp/img/content/100319004001/1/d6/{{x/256+1}}_{{y/256+1}}.jpeg"

    variables:
    - name: x
    from: 1
    to: 3074
    step: 256

    - name: y
    from: 1
    to: 8047
    step: 256

    - name: tile_size
    value: 256

    headers:
    Referer: "https://emuseum.nich.go.jp"

    @78147 回复 ⚑举报 

    未曾
    管理员

    @九载 #78144

    已经有更好下载方式~
    可参见
    www.shuge.org/meet/topic/44783/

    @80617 回复 ⚑举报 

    九载
    游客

    @未曾 #78147

    非常感谢

    @91060 回复 ⚑举报 

    闲人
    游客

    @未曾 #78147

    未曾先生好,请问您说的更好的下载方式是什么呢?链接已失效……用bookget下载有些书,图片只能下载一半,想试试dezoomify-rs拼图,但是用此贴教程的方法一直没有成功……

     

    @91065 回复 ⚑举报 

    未曾
    管理员

    @闲人 #91060

    bookget应该支持e 国宝下载吧

    @91084 回复 ⚑举报 

    闲人
    游客

    @未曾 #91065

    是的,一般都支持,但是以下三种书中的“神歌抄/毛诗并毛诗正义大雅残卷(纸背) ”在bookget软件界面404报错,另外两种书的上册下载出来的图片缺损,只有最上边一行,完全搞不懂怎么能正常下载……特来求教

    e国宝 - 神歌抄
    emuseum.nich.go.jp/detai...8;webView=

    e国宝 - 老子道德经 上下 应安六年九月廿六日书写批注
    emuseum.nich.go.jp/detai...ge_id=null

    e国宝 - 帝范 上卷
    emuseum.nich.go.jp/detai...8;webView=

    @91086 回复 ⚑举报 

    未曾
    管理员

    @闲人 #91084

    应该是他们系统没有生成IIIF图。只能用这个老方法下载这些图了

    @未曾 #11880

     

正在查看 27 个帖子:1-27 (共 27 个帖子)
正在查看 27 个帖子:1-27 (共 27 个帖子)

上传图片

拖拽或点击选择图片(最多五张)

回复至:回复 #12039 于 求e国宝图的拼接方法
您的信息:



发帖/回帖前,请了解相关版规

1,不要开书单。单个帖子尽量发布一种书籍需求。
2,在搜索不到相关主题的情况下,尽量发新帖(发帖标题最好带上书名)。不要在他人帖子中回复某种书籍需要。
3,发帖提问标题尽量简单明了。发帖内容不要太过简略,请对书籍内容、版本或作者作简要说明。
4,出版于1973年以后的资源需求或分享将会被清理删除。