generated from ArcanaFramework/fileformats-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from ArcanaFramework/dicom-read-metadata
Reworked to use "category-less" classifiers
- Loading branch information
Showing
14 changed files
with
127 additions
and
19 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from fileformats.core import Classifier | ||
|
||
|
||
class ContentsClassifier(Classifier): | ||
pass |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from .. import ContentsClassifier | ||
|
||
|
||
class AnatomicalEntity(ContentsClassifier): | ||
pass |
Empty file.
Empty file.
5 changes: 5 additions & 0 deletions
5
fileformats/medimage/contents/anatomical_entity/material_anatomical_entity/__init__.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from .. import AnatomicalEntity | ||
|
||
|
||
class MaterialAnatomicalEntity(AnatomicalEntity): | ||
pass |
29 changes: 29 additions & 0 deletions
29
...ts/medimage/contents/anatomical_entity/material_anatomical_entity/anatomical_structure.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
from . import MaterialAnatomicalEntity | ||
|
||
|
||
class AnatomicalStructure(MaterialAnatomicalEntity): | ||
pass | ||
|
||
|
||
class CardinalOrganPart(AnatomicalStructure): | ||
pass | ||
|
||
|
||
class OrganRegion(CardinalOrganPart): | ||
pass | ||
|
||
|
||
class OrganSegment(OrganRegion): | ||
pass | ||
|
||
|
||
class SegmentOfNeuraxis(OrganRegion): | ||
pass | ||
|
||
|
||
class Brain(SegmentOfNeuraxis): | ||
pass | ||
|
||
|
||
class SpinalCord(SegmentOfNeuraxis): | ||
pass |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from .. import ContentsClassifier | ||
|
||
|
||
class ImagingSpecialty(ContentsClassifier): | ||
pass |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from .. import ContentsClassifier | ||
|
||
|
||
class Derivative(ContentsClassifier): | ||
"""An image type that is derived from other images""" | ||
|
||
|
||
class Mask(Derivative): | ||
"""A binary image that is multiplied with a real-valued image to select sections | ||
of the image for analysis""" | ||
|
||
|
||
class FibreOrientationDistribution(Derivative): | ||
pass | ||
|
||
|
||
FOD = FibreOrientationDistribution |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.