{"id":17113054,"url":"https://github.com/emmt/yimage","last_synced_at":"2025-09-12T18:48:45.427Z","repository":{"id":71510283,"uuid":"82077506","full_name":"emmt/YImage","owner":"emmt","description":"Yorick plugin for images","archived":false,"fork":false,"pushed_at":"2018-11-28T16:56:48.000Z","size":169,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-03T19:48:14.008Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emmt.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-15T15:49:40.000Z","updated_at":"2018-11-28T16:56:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"5aa8c32c-65c6-4acc-92bd-61891feac8fd","html_url":"https://github.com/emmt/YImage","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/emmt/YImage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmt%2FYImage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmt%2FYImage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmt%2FYImage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmt%2FYImage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emmt","download_url":"https://codeload.github.com/emmt/YImage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmt%2FYImage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274858785,"owners_count":25363029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T17:02:37.720Z","updated_at":"2025-09-12T18:48:45.360Z","avatar_url":"https://github.com/emmt.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YImage\n\nYImage is a Yorick plugin for image-like operations.\n\n\n## Image Formats\n\nAs far as possible Yorick arrays are interpreted as images: numerical 2D array\nare grayscale images, 3-by-*width*-by-*height* `char` arrays are RGB images (of\ndimensions *width* and *height*), and 4-by-*width*-by-*height* `char` arrays are\nRGBA images (red, green, blue, alpha).\n\n\n## Features\n\nThis version provides:\n\n- basic image management: `is_image`, `img_is_complex`, `img_is_color`,\n  `img_is_rgb`, `img_is_rgba`, `img_get_height`, `img_get_width`,\n  `img_get_type`, `img_get_red`, `img_get_green`, `img_get_blue`,\n  `img_get_alpha` and `img_get_channel`;\n\n- linear geometrical transform of an image: `img_extract_rectangle`,\n  `img_rotate`;\n\n- morpho-math operations: `img_morph_black_top_hat`, `img_morph_closing`,\n  `img_morph_dilation`, `img_morph_enhance`, `img_morph_erosion`,\n  `img_morph_lmin_lmax`, `img_morph_opening`, `img_morph_trilevel` and\n  `img_morph_white_top_hat`;\n\n- image segmentation: see `img_watershed` and `img_segmentation_new`;\n\n- functions to manage pools of chains of image segments: see\n  `img_chainpool_new`;\n\n- pixelwise comparison of images: see `img_cost_l2`;\n\n- estimate the noise level in an image: see `img_estimate_noise`;\n\n- miscellaneous functions: `img_define_constant`, `img_get_symbol` and\n  `img_get_version`;\n\n\n## Installation\n\nInstallation is done in a few steps: (1) unpack the archive, (2) make a build\ndirectory, (3) configure for compilation, (4) build the plug-in and (5) install\nit:\n\n    tar jxvf YImage-$VERSION.tar.bz2\n    mkdir -p $BUILD\n    cd $BUILD\n    $SRCDIR/configure\n    make clean\n    make\n    make install\n\nwhere `$VERSION` yields the version number, `$BUILD` yields the build directory\nand `$SRCDIR` yields the top directory where are the plugin sources.  The build\ndirectory can be anywhere, including inside the directory tree of the plugin\nsource.  The `configure` script has some options which are listed with:\n\n    configure --help\n\n\n## Installation (the old way)\n\nUnpack the archive, then update the Makefile, build the plug-in and install it\n(`$VERSION` yields the version number):\n\n    tar jxvf YImage-$VERSION.tar.bz2\n    cd YImage-$VERSION\n    yorick -batch make.i\n    make clean\n    make\n    make install\n\n\n## Quick start\n\nTo use the plugin, just load `image.i` (all functions provided by the plugin\nare prefixed with `img_` and global constant names are prefixed with `IMG_`):\n\n    yorick\n    \u003e include, \"image.i\";\n    \u003e help, img_get_width\n\nThanks to the *autoload* feature of Yorick, if YImage has been properly\ninstalled, `include, \"image.i\"` is not necessary.\n\n\n## Author\n\n* Éric Thiébaut (Centre de Recherche Astrophysique de Lyon, Observatoire de\n  Lyon, France) \u003ceric.thiebaut@univ-lyon1.fr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmt%2Fyimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmt%2Fyimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmt%2Fyimage/lists"}