Notes |
|
(0000497)
|
Lydia Ng
|
2004-01-16 16:23
|
|
Josh to investigate adding concept checking to these filters. |
|
|
(0001940)
|
Lydia Ng
|
2005-01-14 14:08
|
|
triaged - reduced priority. |
|
|
(0009048)
|
Luis Ibanez
|
2007-09-18 09:39
|
|
Brainstorming:
We propose to use the deprecation mechanism combined with a concept checking.
The concept checking will produce a compilation error when the filter is instantiated on an image of pixel type != float.
The "undeprecation" mechanism will disable the concept checking so that old code that is instantiating this filter with float images will still compile. |
|
|
(0009049)
|
Luis Ibanez
|
2007-09-18 09:41
|
|
Decision:
Add concept checking RealPixel Type. |
|
|
(0009050)
|
Luis Ibanez
|
2007-09-18 09:42
(edited on: 2007-09-18 09:45) |
|
BTW: This also matters for all the filters that use the PDE solver
So this should be done with the FiniteDifferenceImageFilter too.
|
|
|
(0009157)
|
Luis Ibanez
|
2007-09-19 14:27
|
|
|
|
(0009159)
|
Luis Ibanez
|
2007-09-19 15:22
|
|
The FiniteDifferenceImageFilter is base class of some filters that
take scalar images as input,
as well as filters that
take vector images as input.
In order to define the concept check in a generic way, we must do it in terms
of the type
ImageType::PixelType::ValueType |
|
|
(0009170)
|
Luis Ibanez
|
2007-09-19 18:36
|
|
|
|
(0009171)
|
Luis Ibanez
|
2007-09-19 18:37
|
|
The concept checks were added. |
|