Created
March 31, 2020 16:26
-
-
Save cpaltrinieri/5446c2915e4fae71fe9e323a3993034c to your computer and use it in GitHub Desktop.
Autogenerated from www.imagegraph.cc, carlottas first graph
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"caption":"carlottas first graph","offset":{"x":0,"y":0},"nodes":{"51901dc4-e2ed-4d99-b224-841a666245ba":{"id":"51901dc4-e2ed-4d99-b224-841a666245ba","position":{"x":630,"y":98},"type":"loadIIIFManifest","ports":{"port1":{"id":"port1","type":"bottom","properties":{"type":"imL"},"position":{"x":93,"y":79}}},"properties":{"text":"Loads a IIIF manifest. Paste in any IIIF manifest URL, which you can get from most libraries. ","form":"string","innerValue":"https://iiif.bodleian.ox.ac.uk/iiif/manifest/e32a277e-91e2-4a6d-8ba6-cc4bad230410.json"}},"3793f006-09ae-4fc8-b3cd-3c959a6704c3":{"id":"3793f006-09ae-4fc8-b3cd-3c959a6704c3","position":{"x":690,"y":311},"type":"getRGB","ports":{"port1":{"id":"port1","type":"top","properties":{"type":"imL"},"position":{"x":50,"y":0}},"port2":{"id":"port2","type":"bottom","properties":{"type":"fL"},"position":{"x":14,"y":44}},"port3":{"id":"port3","type":"bottom","properties":{"type":"fL"},"position":{"x":50,"y":44}},"port4":{"id":"port4","type":"bottom","properties":{"type":"fL"},"position":{"x":86,"y":44}}},"properties":{"text":"Extracts the average R, G, B color values for each image given. ","form":"none"}},"30423c64-f6ac-48ac-9778-0a01dd5fce75":{"id":"30423c64-f6ac-48ac-9778-0a01dd5fce75","position":{"x":611,"y":498},"type":"scatterPlot","ports":{"port1":{"id":"port1","type":"top","properties":{"type":"fL"},"position":{"x":32,"y":0}},"port2":{"id":"port2","type":"top","properties":{"type":"fL"},"position":{"x":68,"y":0}}},"properties":{"text":"A simple x-y plot. ","form":"none"}}},"selected":{},"links":{"c9ed6fdc-2a54-4d26-919a-b5c7caaca6e5":{"id":"c9ed6fdc-2a54-4d26-919a-b5c7caaca6e5","from":{"nodeId":"51901dc4-e2ed-4d99-b224-841a666245ba","portId":"port1"},"to":{"nodeId":"3793f006-09ae-4fc8-b3cd-3c959a6704c3","portId":"port1"}},"fcb6c140-2dad-486c-824a-ab9a7668b7e8":{"id":"fcb6c140-2dad-486c-824a-ab9a7668b7e8","from":{"nodeId":"3793f006-09ae-4fc8-b3cd-3c959a6704c3","portId":"port2"},"to":{"nodeId":"30423c64-f6ac-48ac-9778-0a01dd5fce75","portId":"port1"}},"f2c1d3e5-8bb1-43ef-8c15-4e070d99b98c":{"id":"f2c1d3e5-8bb1-43ef-8c15-4e070d99b98c","from":{"nodeId":"3793f006-09ae-4fc8-b3cd-3c959a6704c3","portId":"port4"},"to":{"nodeId":"30423c64-f6ac-48ac-9778-0a01dd5fce75","portId":"port2"}}},"hovered":{}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "name": "ImageGraph.ipynb", "version": "0.3.2", "provenance": [], "collapsed_sections": [] }, "kernelspec": { "name": "python3", "display_name": "Python 3" } }, "cells": [ { "cell_type": "code", "metadata": { "id": "gsUbIGfNqSjV", "colab_type": "code", "colab": { "base_uri": "https://localhost:8080/", "height": 34 }, "outputId": "a306f9c8-c721-4280-fba4-f175cffa7090" }, "source": [ " # Remember to install the imagegraph Python library thus:\n!pip install git+https:\/\/github.com\/leoimpett\/pyimagegraph\nimport imagegraph as ig\nimL00 = ig.loadIIIFManifest(\"https:\/\/iiif.bodleian.ox.ac.uk\/iiif\/manifest\/e32a277e-91e2-4a6d-8ba6-cc4bad230410.json\") \nfL01,fL02,fL03 = ig.getRGB(imL00) \n_ = ig.scatterPlot(fL01,fL03) " ], "execution_count": 0, "outputs": [ { "output_type": "stream", "text": [ " " ], "name": "stdout" } ] } ]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment