Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
2d9541e0
Commit
2d9541e0
authored
12 years ago
by
Andreas Schenk
Browse files
Options
Downloads
Patches
Plain Diff
added more detailed image format documentation
parent
2629161e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/io/doc/image_formats.rst
+124
-2
124 additions, 2 deletions
modules/io/doc/image_formats.rst
with
124 additions
and
2 deletions
modules/io/doc/image_formats.rst
+
124
−
2
View file @
2d9541e0
...
@@ -11,6 +11,12 @@ Format used by the ccp4 software package
...
@@ -11,6 +11,12 @@ Format used by the ccp4 software package
* File import: *yes*
* File import: *yes*
* File export: *yes*
* File export: *yes*
.. class:: ost.io.CCP4(normalize_on_save=false, endianess_on_save=OST_LOCAL_ENDIAN)
:param normalize_on_save: Determines wether to renormalize image upon saving.
:type normalize_on_save: bool
:param endianess_on_save: Byte order for saving.
:type endianess_on_save: ost.io.Endianess
DAT
DAT
...
@@ -23,6 +29,16 @@ Simple binary format for square images
...
@@ -23,6 +29,16 @@ Simple binary format for square images
* File import: *yes*
* File import: *yes*
* File export: *yes*
* File export: *yes*
.. class:: ost.io.DAT(normalize_on_save=false, format=OST_DEFAULT_FORMAT, signed=false, endianess=OST_LOCAL_ENDIAN)
:param normalize_on_save: Determines wether to renormalize image upon saving.
:type normalize_on_save: bool
:param format: Data format for loading and saving.
:type format: ost.io.Format
:param signed: Determines wether data is interpreted as signed or unsigned values during loading and saving.
:type signed: bool
:param endianess: Byte order for loading and saving.
:type endianess: ost.io.Endianess
DF3
DF3
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
@@ -34,6 +50,12 @@ PovRay Density file format
...
@@ -34,6 +50,12 @@ PovRay Density file format
* File import: *no*
* File import: *no*
* File export: *yes*
* File export: *yes*
.. class:: ost.io.DF3(normalize_on_save=false)
:param normalize_on_save: Determines wether to renormalize image upon saving.
:type normalize_on_save: bool
DM3
DM3
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
@@ -44,6 +66,8 @@ Format used by Gatan Inc.'s Digital Micrograph software
...
@@ -44,6 +66,8 @@ Format used by Gatan Inc.'s Digital Micrograph software
* File import: *yes*
* File import: *yes*
* File export: *no*
* File export: *no*
.. class:: ost.io.DM3( )
DX
DX
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
@@ -54,6 +78,12 @@ Format used by the OpenDX software package
...
@@ -54,6 +78,12 @@ Format used by the OpenDX software package
* File import: *yes*
* File import: *yes*
* File export: *yes*
* File export: *yes*
.. class:: ost.io.DX(normalize_on_save=false)
:param normalize_on_save: Determines wether to renormalize image upon saving.
:type normalize_on_save: bool
IPL
IPL
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
@@ -64,6 +94,13 @@ Ditabis Micron Image Plate Scanner Format
...
@@ -64,6 +94,13 @@ Ditabis Micron Image Plate Scanner Format
* File import: *yes*
* File import: *yes*
* File export: *yes*
* File export: *yes*
.. class:: ost.io.IPL(normalize_on_save=false, format=OST_DEFAULT_FORMAT)
:param normalize_on_save: Determines wether to renormalize image upon saving.
:type normalize_on_save: bool
:param format: Data format for loading and saving.
:type format: ost.io.Format
JPK
JPK
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
@@ -74,6 +111,21 @@ Format used by JPK Instruments AG's software (Customized Tiff format)
...
@@ -74,6 +111,21 @@ Format used by JPK Instruments AG's software (Customized Tiff format)
* File import: *yes*
* File import: *yes*
* File export: *yes*
* File export: *yes*
.. class:: ost.io.JPK(normalize_on_save=indeterminate, format=OST_DEFAULT_FORMAT, signed=false, phasecolor=false, subimage=-1)
:param normalize_on_save: Determines wether to renormalize image upon saving.
:type normalize_on_save: tribool
:param format: Data format for loading and saving.
:type format: ost.io.Format
:param signed: Determines wether data is interpreted as signed or unsigned values during loading and saving.
:type signed: bool
:param phasecolor: Determines wether the phases of complex values are encoded as color information.
:type phasecolor: bool
:param subimage: Determines which subimage is read from a multi-image jpk (-1 = default image).
:type subimage: int
MRC
MRC
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
@@ -84,7 +136,22 @@ Format used by the MRC software package
...
@@ -84,7 +136,22 @@ Format used by the MRC software package
* File import: *yes*
* File import: *yes*
* File export: *yes*
* File export: *yes*
NanoScope
.. class:: ost.io.MRC(normalize_on_save=false, subformat=MRC_NEW_FORMAT, endianess_on_save=OST_LOCAL_ENDIAN)
:param normalize_on_save: Determines wether to renormalize image upon saving.
:type normalize_on_save: bool
:param subformat: Determines wether old style or new style mrc files should be saved.
:type subformat: ost.io.Subformat
:param endianess_on_save: Byte order for saving.
:type endianess_on_save: ost.io.Endianess
.. py:class:: ost.io.Subformat
.. py:attribute:: MRC_AUTO_FORMAT
.. py:attribute:: MRC_OLD_FORMAT
.. py:attribute:: MRC_NEW_FORMAT
Nanoscope
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Format used by software from Veeco
Format used by software from Veeco
...
@@ -94,6 +161,12 @@ Format used by software from Veeco
...
@@ -94,6 +161,12 @@ Format used by software from Veeco
* File import: *yes*
* File import: *yes*
* File export: *yes*
* File export: *yes*
.. class:: ost.io.Nanoscope(subimage=-1)
:param subimage: Determines which subimage is read from a multi-image nanoscope file (-1 = default image).
:type subimage: int
PNG
PNG
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
@@ -104,6 +177,11 @@ Portable Network Graphic image format
...
@@ -104,6 +177,11 @@ Portable Network Graphic image format
* File import: *yes*
* File import: *yes*
* File export: *yes*
* File export: *yes*
.. class:: ost.io.PNG(normalize_on_save=false)
:param normalize_on_save: Determines wether to renormalize image upon saving.
:type normalize_on_save: bool
Situs
Situs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
@@ -114,6 +192,11 @@ Format used by the Situs software package
...
@@ -114,6 +192,11 @@ Format used by the Situs software package
* File import: *yes*
* File import: *yes*
* File export: *yes*
* File export: *yes*
.. class:: ost.io.Situs(normalize_on_save=false)
:param normalize_on_save: Determines wether to renormalize image upon saving.
:type normalize_on_save: bool
Spider
Spider
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
@@ -124,7 +207,14 @@ Format used by the Spider software package
...
@@ -124,7 +207,14 @@ Format used by the Spider software package
* File import: *yes*
* File import: *yes*
* File export: *yes*
* File export: *yes*
TIFF
.. class:: ost.io.Spider(normalize_on_save=false, endianess_on_save=OST_LOCAL_ENDIAN)
:param normalize_on_save: Determines wether to renormalize image upon saving.
:type normalize_on_save: bool
:param endianess_on_save: Byte order for saving.
:type endianess_on_save: ost.io.Endianess
TIF
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Tagged Image File Format
Tagged Image File Format
...
@@ -134,3 +224,35 @@ Tagged Image File Format
...
@@ -134,3 +224,35 @@ Tagged Image File Format
* File import: *yes*
* File import: *yes*
* File export: *yes*
* File export: *yes*
.. class:: ost.io.TIF(normalize_on_save=indeterminate, format=OST_DEFAULT_FORMAT, signed=false, phasecolor=false, subimage=-1)
:param normalize_on_save: Determines wether to renormalize image upon saving.
:type normalize_on_save: tribool
:param format: Data format for loading and saving.
:type format: ost.io.Format
:param signed: Determines wether data is interpreted as signed or unsigned values during loading and saving.
:type signed: bool
:param phasecolor: Determines wether the phases of complex values are encoded as color information.
:type phasecolor: bool
:param subimage: Determines which subimage is read from a multi-image tif (-1 = default image).
:type subimage: int
Common parameters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. py:class:: ost.io.Endianess
.. py:attribute:: OST_BIG_ENDIAN
.. py:attribute:: OST_LITTLE_ENDIAN
.. py:attribute:: OST_VAX_DATA
.. py:attribute:: OST_LOCAL_ENDIAN
.. py:class:: ost.io.Format
.. py:attribute:: OST_BIT8_FORMAT
.. py:attribute:: OST_BIT16_FORMAT
.. py:attribute:: OST_BIT32_FORMAT
.. py:attribute:: OST_FLOAT_FORMAT
.. py:attribute:: OST_DOUBLE_FORMAT
.. py:attribute:: OST_DEFAULT_FORMAT
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment