Page MenuHomePhabricator

ITK GE4ImageIO and GE5ImageIO produce warnings at Workbench startup
Closed, ResolvedPublic

Description

Both ImageIO classes do not return supported file extensions as those files are extension-less. We are able to fix this by making up empty extensions for these ImageIO classes. There's already a method for this:

mitk::ItkImageIO::FixUpImageIOExtensions()

Here, various ImageIO classes are already listed.

Event Timeline

User kislinsk has pushed new remote branch:

bug-18818-FixUpExtensionsForGE4andGE5ImageIO

Summary of problem description

Both, ITK GE4 and GE5 ImageIO classes do not return supported file extensions as those files are extension-less. This leads to warnings during the start-up of the Workbench.

Actual behavior

Warnings are shown during Workbench startup.

Expected behavior

GE4ImageIO and GE5ImageIO should be integrated such that no warnings are produced.

Cause of the bug

The ImageIO classes in charge do not return any file extensions as GE4 and GE5 files are extension-less

Proposed solution

The method mitk::ItkImageIO::FixUpImageIOExtensions() was already written for such cases. This method could fix up an empty extension for GE4 and GE5 ImageIO.

Affected classes

mitk::ItkImageIO

How will the bugfix get tested?

The bugfix was successfully tested manually.

[a15f4c]: Merge branch 'bug-18818-FixUpExtensionsForGE4andGE5ImageIO'

Merged commits:

2015-03-06 11:05:26 Stefan Kislinskiy [29c0a0]
Fix up empty file extensions for ITK GE4 and GE5 ImageIO.