MantisBT - ITK
View Issue Details
0011597ITKITKpublic2010-12-11 08:182010-12-11 08:25
Luis Ibanez 
Luis Ibanez 
normalminorhave not tried
assignedopen 
 
 
backlog
0011597: Lack of complementarity between Set() and Get() methods in PixelAccessors
ImageAdaptors use PixelAccessors to present an image as if it has been processed by a filter, but by doing the computation on the fly as the pixel value is accessed.

Ideally the behavior should be such that

imageAdaptor->SetPixel(index, A );
B = imageAdaptor->GetPixel(index);
A == B

Some ImageAdaptors / PixelAccessors are not satisfying this property.

Reported by Robert Tamburo in the users list:
http://www.itk.org/pipermail/insight-users/2010-December/039108.html [^]
No tags attached.
Issue History
2010-12-11 08:18Luis IbanezNew Issue
2010-12-11 08:18Luis IbanezStatusnew => assigned
2010-12-11 08:18Luis IbanezAssigned To => Luis Ibanez
2010-12-11 08:25Luis IbanezNote Added: 0023892
2010-12-11 08:31Luis IbanezNote Edited: 0023892bug_revision_view_page.php?bugnote_id=23892#r43
2010-12-11 08:33Luis IbanezNote Edited: 0023892bug_revision_view_page.php?bugnote_id=23892#r44

Notes
(0023892)
Luis Ibanez   
2010-12-11 08:25   
(edited on: 2010-12-11 08:33)
Adaptors/Accessor that have this issue:

* AbsImageAdaptor (may not be fixable)
* AcosImageAdaptor (fixable - within numerical range)
* AsinImageAdaptor (fixable - within numerical range)
* AtanImageAdaptor (fixable - within numerical range)
* ComplexToImaginary (fixable)
* ComplexToModulus (not fixable)
* ComplexToPhase (not fixable)
* ComplexToReal (fixable)
* CosImageAdaptor (fixable - within numerical range)
* ExpImageAdaptor (fixable - within numerical range)
* ExpNegativeImageAdaptor (fixable - withing numerical range)
* Log10ImageAdaptor (fixable - withig numerical range)
* LogImageAdaptor (fixable - within numerical range)
* RGBToLuminanceAdaptor (possible to trick..)
* SinImageAdaptor (fixable - within numerical range)
* SqrtImageAdaptor (fixable - within numerical range)
* TanImageAdaptor (fixable - within numerical range)