Page MenuHomePhabricator

Enable mitk::Image to contain itk::VectorImage
Closed, ResolvedPublic

Description

Currently mitk::Image does not correctly recognize an itk::VectorImage . This bug aims to change that.

Event Timeline

User goch has pushed new remote branch:

bug-17986-enable-mitk-image-itk-vectorimage

[6d8121]: Merge branch 'bug-17986-enable-mitk-image-itk-vectorimage'

Merged commits:

2014-08-11 03:28:07 Sascha Zelzer [108f05]
Added test for converting vector images to and from ITK.


2014-08-11 03:19:13 Sascha Zelzer [866cae]
Merge remote-tracking branch 'origin/bug-17931-ImageToITK-read-lock' into bug-17986-enable-mitk-image-itk-vectorimage

Conflicts:
Core/Code/DataManagement/mitkImage.cpp
Core/Code/DataManagement/mitkImageAccessByItk.h
Core/Code/DataManagement/mitkImageCast.h
Core/Code/DataManagement/mitkImageCastPart1.cpp
Core/Code/DataManagement/mitkImageCastPart2.cpp
Core/Code/DataManagement/mitkImageCastPart3.cpp
Core/Code/DataManagement/mitkImageCastPart4.cpp
Core/Code/DataManagement/mitkImageDataItem.cpp
Core/Code/DataManagement/mitkImagePixelAccessor.h
Core/Code/DataManagement/mitkImageToItk.txx
Core/Code/IO/mitkImageWriter.cpp
Core/Code/files.cmake
Modules/ImageExtraction/mitkExtractDirectedPlaneImageFilterNew.h


2014-08-11 01:07:28 Sascha Zelzer [e89fda]
Added compile time check for valid ITK image types.


2014-08-11 01:06:35 Sascha Zelzer [66a089]
Moved the CastToMitkImage methods to the mitkImageCast.h header.


2014-08-11 00:57:32 Sascha Zelzer [b9d0c8]
Thread-safety for const MITK images.


2014-08-10 23:03:53 Sascha Zelzer [67c7b8]
Added test for multiple image read/write accesses.


2014-08-10 23:03:25 Sascha Zelzer [28e9dd]
Enhanced documentation about image conversions.


2014-08-10 23:02:59 Sascha Zelzer [8c2839]
Unified duplicated template definitions.


2014-08-10 12:39:55 Sascha Zelzer [70c38a]
Added line breaks only for better diff support.


2014-08-08 18:53:37 Sascha Zelzer [b06005]
Removed work-arounds in image cast test.


2014-08-08 12:22:40 Caspar Goch [a31f12]
Replace templated calls


2014-08-08 02:24:50 Sascha Zelzer [1e32cf]
Added missing itk image region include.


2014-08-08 02:24:34 Sascha Zelzer [cff3bf]
Consistent CastToItkImage method for both itk::Image and itk::VectorImage.


2014-08-07 10:32:34 Caspar Goch [f9b2ad]
Added CastToITKVectorImage


2014-08-06 12:08:37 Caspar Goch [8819ee]
Set vector length for itk::VectorImages


2014-08-06 10:09:38 Caspar Goch [a824f6]
Components are numbered from 0 to number -1


2014-08-06 09:52:27 Caspar Goch [184b98]
Windows compile fix


2014-08-06 09:13:47 Caspar Goch [539cc9]
add include to fix compile error


2014-08-04 16:51:17 Caspar Goch [40f674]
Do not compute statistics on vector component images


2014-08-06 01:27:44 Sascha Zelzer [ecacd2]
Added component slider to the context menu of image nodes.


2014-08-06 01:26:54 Sascha Zelzer [cb86aa]
Use int instead of string comparison.


2014-08-06 01:26:14 Sascha Zelzer [e2a7cc]
Work around inconsitence between compilers and typename handling.


2014-08-05 20:22:58 Sascha Zelzer [e5671f]
Don't treat C++11 extensions as errors (clang).


2014-08-05 20:22:10 Sascha Zelzer [11cd32]
Added missing type for CMake option.


2014-08-05 20:21:37 Sascha Zelzer [7f8c2d]
Use typename in both _accessByItk macros.


2014-08-05 06:10:11 Sascha Zelzer [2c61a2]
Treat itk::VariableLengthVector pixel types as itk::VectorImages.


2014-08-04 17:26:40 Jan Hering [02b348]
Handling vector images size in constructor of mitk::PixelType


2014-08-04 14:05:09 Jan Hering [193b82]
Allow setting the length for variable types once


2014-08-04 13:43:12 Caspar Goch [d031a2]
Integrated Jans work on PixelType adaptions for VectorImageType


2014-08-08 12:23:00 Sascha Zelzer [043f9f]
Added 'const' to image access fucntion arguments and some variables.


2014-08-08 12:22:15 Sascha Zelzer [a36ac4]
Added missing export macros for vtk image accessors.


2014-08-08 12:21:52 Sascha Zelzer [29d2cd]
Enable getting a non-const input from the image-to-image filter.


2014-08-07 21:58:53 Sascha Zelzer [6270a9]
Adapted ImageReadAccessor constructor to avoid ambiguities.


2014-08-07 21:58:21 Sascha Zelzer [897fc1]
Re-introduced type equality check and short-cut.


2014-08-07 18:25:32 Sascha Zelzer [63ec97]
Reduced the set of explicit _CastToItkImage2Access instantiations.


2014-08-07 06:55:30 Sascha Zelzer [1dcd39]
AccessByItk macro support for const mitk::Images and ReadAccessor usage.


2014-08-07 04:06:08 Sascha Zelzer [e186e1]
Make image read accessors work with const images.


2014-07-28 18:56:49 Miklos Espak [86d6d6]
T17931: Use tr1/type_traits with GNU compilers

Signed-off-by: Miklos Espak <m.espak@ucl.ac.uk>


2014-07-22 20:13:12 Miklos Espak [f7ec1b]
T17931: ImageToItk setter for accessor options

The motivation for this is to allow setting the IgnoreLock option for reading.

Signed-off-by: Miklos Espak <m.espak@ucl.ac.uk>


2014-07-22 20:12:18 Miklos Espak [acff9c]
T17931: Write accessor ignores read accessors with IgnoreLock policy

Signed-off-by: Miklos Espak <m.espak@ucl.ac.uk>


2014-07-22 13:54:49 Miklos Espak [700e61]
T17931: ImageToITK creates read accessor when output type is const

Signed-off-by: Miklos Espak <m.espak@ucl.ac.uk>

[bdadbd]: Merge branch 'bug-17986-enable-mitk-image-itk-vectorimage'

Merged commits:

2014-08-14 00:52:00 Sascha Zelzer [324a04]
COMP: Added another MakePixelType method to work around typename issues.