{ "cells": [ { "cell_type": "raw", "metadata": { "pycharm": { "name": "#%% raw\n" }, "raw_mimetype": "text/restructuredtext" }, "source": [ ".. _example-data1:\n" ] }, { "cell_type": "markdown", "metadata": { "pycharm": { "name": "#%% md\n" } }, "source": [ "Creation of a dataset\n", "=====================\n", "\n", "This example shows how to use the `pymia.data` package to create a HDF5 (hierarchical data format version 5) dataset. All examples follow the use case of medical image segmentation of brain tissues, see [Examples](examples.rst) for an introduction into the data.\n", "Therefore, we create a dataset with the four subjects and their data: a T1-weighted MR image, a T2-weighted MR image, a label image (ground truth, GT), and a mask image, as well as demographic information age, grade point average (GPA), and gender.\n", "\n", "