Skip to main content

MicroJSON is a library for validating, parsing, and manipulating MicroJSON data.

Project description

MicroJSON

MicroJSON is a JSON-based format inspired by GeoJSON, 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.

Features

MicroJSON offers a range of features designed to meet the needs of microscopy data representation:

  • 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.

  • Standardized Format: MicroJSON uses the widely adopted JSON format, ensuring compatibility with a wide range of programming languages and tools.

  • Extensibility: MicroJSON can handle additional properties associated with specific features, such as metadata relating to microscopy images.

Additional Functions

There are two additional functionalities added which supports binary images. BinaryMicrojsonModel: Converts objects in a binary image into polygon coordinates (rectangle, encoding) and save them in json file format using microjson package. MicrojsonBinaryModel: Reconstruct binary images using polygon coordinates from json file.

Usage

MicroJSON can be used with any application or tool that can process JSON data. Due to its design, it is particularly suited to applications related to the analysis, visualization, and manipulation of microscopy images.

External Resources

The GeoJSON test files are copied from the GeoJSON Schema GitHub repository, and are Copyright (c) 2018 Tim Schaub under MIT License.

Contribution

We 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.

License

MicroJSON is licensed under MIT License, (c) 2023 Polus AI & Nextonic Solutions LLC.

Authors

Bengt Ljungquist bengt.ljungquist@nextonicsolutions.com


This project is maintained by Polus AI. For any queries or further discussion, please contact the author on email address above.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

microjson-0.3.0.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

microjson-0.3.0-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

Details for the file microjson-0.3.0.tar.gz.

File metadata

  • Download URL: microjson-0.3.0.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for microjson-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6e8de23c0f505801d811f14c95806acbc8dde8eed9192edff99920b285a125a6
MD5 7b1942909440c32329002457923a7f59
BLAKE2b-256 21a5525626a68ad73439ebcf929787b3172c76bd8e8c663f1c841c9adaf04bfd

See more details on using hashes here.

File details

Details for the file microjson-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: microjson-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 52.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for microjson-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50a8367241492b43673bab4b0a896b343aecd6a7348bb48d338932af02f432ad
MD5 8b51669a868e83b4bd2fadd5651dcd1d
BLAKE2b-256 c271e6f97ce1dc947e13de1d7d15d95776b7185b728b0b379e4bde7c7e1ef6e6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page