The standard save and load file format of the ToF player and recorder is currently .pic. For this file format is deprecated, it should be changed to .nrrd.
Description
Status | Assigned | Task | ||
---|---|---|---|---|
Resolved | None | T7219 Identify C methods in mitk-ToF | ||
Resolved | None | T8958 Change standard save/load format for ToF player/recorder from .pic to .nrrd |
Event Timeline
Working plan:
- Modify QmitkTofConnectionWidget: a) add .nrrd as possible file extension for generated file names b) add deprecated warnings when .pic files are used
- Modify mitkTofCameraMITKPlayerController.h a) rewrite OpenCameraConnection() with mitkPicFileReader and ImageFileReader b) rewrite UpdateCamera() to get requested image slices from the input
- Modify QmitkToFRecorderWidget to save files as .nrrd ans not as .pic
This bug also includes the removal of c-style methods from mitkToFCameraMITKPlayerController (cf. T7219)
The class mitkToFCameraMITKPlayerController is adapted to read .pic and .nrrd image data. The test is adapted accordingly and works, some changes are made to the GUI widget.
TODO: code cleanup, adaptation of Recorder widget.
Added new class for nrrd image writing, separate base methods to mitkToFImageWriter base class, adatpt the csv and pic writer classes accordingly, write new unit tests for the new writing structure.
[b71683]: Merge branch 'bug-8958-ChangeToFStandardFileFormat'
Conflicts:
Modul
Merged commits:
2011-09-16 10:42:03 Sven Mersmann [67a655]
changed file filter to make it consistent with the connection widget
2011-09-15 18:13:57 Sven Mersmann [2830ba]
Merge remote-tracking branch 'remotes/origin/bug-8958-ChangeToFStandardFileFormat' into bug-8958-ChangeToFStandardFileFormat
2011-09-15 17:45:15 Alexander Seitel [fd40ad]
Adapted file filter
2011-09-15 17:45:01 Alexander Seitel [c85211]
Added missing include
2011-09-15 17:44:48 Alexander Seitel [b75488]
Use defined exception
2011-09-15 14:21:42 Sven Mersmann [66af1d]
code cleanup, adapted the test cases and added new unit test for mitkToFPicImageWriter
2011-09-15 09:12:23 Sven Mersmann [aa38c1]
Changed inheritance of ToFImageWriter. Make NrrdImageWriter work and set .nrrd as the default file format for ToF module IO
2011-09-01 08:33:06 Sven Mersmann [4f505f]
added class and test for nrrd file writing, implemented streaming for nrrd files
2011-08-17 19:13:57 Sven Mersmann [739e36]
start to remove .pic files from image recorder
2011-08-10 17:26:39 Sven Mersmann [0063f5]
changed standard read file format to .nrrd images, adapted the test to check both file types (.pic and .nrrd), changed the GUI widget.
[2c6173]: Merge branch 'bug-8958-StdFileFormatComp'
Merged commits:
2011-10-08 13:19:35 Sven Mersmann [3a152f]
COMP: changed camera selection from index to text format
[d25708]: Merge branch 'bug-8958-StdFileFormatComp'
Merged commits:
2011-10-08 15:21:46 Sven Mersmann [7a67aa]
COMP: adapted tests and classes due to change of standard save file format
changes made in this bug are pushed to the master, dashboard is green. Set bug to resolved.