{"id":28089094,"url":"https://github.com/polusai/microjson","last_synced_at":"2025-05-13T12:53:43.783Z","repository":{"id":196653107,"uuid":"645928893","full_name":"PolusAI/microjson","owner":"PolusAI","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-31T14:33:16.000Z","size":1475,"stargazers_count":10,"open_issues_count":1,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-02T13:51:45.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/PolusAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"docs/roadmap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-26T19:30:14.000Z","updated_at":"2025-03-31T14:29:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"13ef58a1-fed3-4db4-840e-3346a2a8dc66","html_url":"https://github.com/PolusAI/microjson","commit_stats":null,"previous_names":["polusai/microjson"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolusAI%2Fmicrojson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolusAI%2Fmicrojson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolusAI%2Fmicrojson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolusAI%2Fmicrojson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PolusAI","download_url":"https://codeload.github.com/PolusAI/microjson/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253948118,"owners_count":21988952,"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","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":"2025-05-13T12:53:43.135Z","updated_at":"2025-05-13T12:53:43.762Z","avatar_url":"https://github.com/PolusAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MicroJSON\n\nMicroJSON is a JSON-based format inspired by [GeoJSON](https://geojson.org), designed to encode a variety of data structures related to microscopy images. It can handle representations of reference points, regions of interest, and other annotations, making it an ideal solution for conveying complex microscopy data in a straightforward, easy-to-use format.\n\nFor more extensive documentation, please refer to the [online documentation](https://polusai.github.io/microjson/).\n\n\n## Features\n\nMicroJSON offers a range of features designed to meet the needs of microscopy data representation:\n\n- **Flexible Data Structures:** MicroJSON can represent diverse data structures, including geometries (such as points, multipoints, linestrings, polygons), features (individual entities with specific properties), feature collections (groups of features), and coordinate systems.\n\n- **Standardized Format:** MicroJSON uses the widely adopted JSON format, ensuring compatibility with a wide range of programming languages and tools.\n\n- **Extensibility:** MicroJSON can handle additional properties associated with specific features, such as metadata relating to microscopy images.\n\n## Additional Functions\nThere are two additional functionalities added which supports binary and label images.\n\n- **OmeMicrojsonModel:** Converts objects in a binary or label images into polygon coordinates (rectangle, encoding) and save them in json file format using microjson package.\n\n- **MicrojsonBinaryModel:** Reconstruct binary images using polygon coordinates from json file.\n\n## Installation\n\nTo install MicroJSON, you can use the following command:\n\n```bash \npip install microjson\n```\nThis will install the default version of MicroJSON with the basic functionalities and minimal dependencies. If you want to use the additional functionalities, such as provided by the ```utils``` module, you can install the package with the following command:\n\n```bash\npip install microjson[all]\n```\n\n\n## Usage\n\nMicroJSON is compatible with any application or tool that process JSON data. Its design makes it especially well-suited for applications involving analysis, visualization, and manipulation of microscopy images.\n\n## Examples\n\nRefer to the examples foler to see samples of MicroJSON files as well as a simple parsing example, or the [example in the documentation](docs/example.md)\n\n## Specification\n\nFor more detailed information about the MicroJSON structure and its components, please refer to the [Specification](docs/index.md) file.\n\n## External Resources\n\nThe GeoJSON test files are copied from the [GeoJSON Schema GitHub repository](https://github.com/geojson/schema), and are Copyright (c) 2018 Tim Schaub under MIT License.\n\n## Contribution\n\nWe welcome contributions to the development and enhancement of MicroJSON. Whether you're reporting bugs, suggesting enhancements, or contributing to the code, your input is highly appreciated.\n\n## License\n\nMicroJSON is licensed under [MIT License](./LICENSE).\n\n---\n\nThis project is maintained by Polus AI. For any queries or further discussion, please contact [contact details].\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolusai%2Fmicrojson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolusai%2Fmicrojson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolusai%2Fmicrojson/lists"}