[Insight-developers] utjOrientedImage.h

Bill Lorensen bill.lorensen at gmail.com
Tue Jul 29 23:13:51 EDT 2008


I think they are pretty much complete.

On Tue, Jul 29, 2008 at 9:20 PM, Johnson, Hans <hans-johnson at uiowa.edu> wrote:
> Bill,
>
> I"ve been doing some more research on the itkOrientedImage filter.  It looks
> like there is a nice WIKI page at
> http://www.itk.org/Wiki/Proposals:Oriented_Image_Registration that lists
> several tasks that needed to be accomplished about 80% down the page.  The
> wiki claims that none of this is done, but it looks like it is in CVS.
>
> 2)  Could you please confirm that these tasks were done?
>
> Thanks,
> Hans
>
>
> On 7/25/08 9:22 PM, "Bill Lorensen" <bill.lorensen at gmail.com> wrote:
>
> Hans,
>
> The OrientedImage uses an image direction cosines when transforming
> physical points to indexes and vice versa. It is in working condition.
> The #else's are there to show a more readable version of the code. I
> used template meta-programming to implement the transformations in an
> efficient way. Unfortunately, the meta-programming code is hard to
> follow.
>
> The ITK_USE_ORIENTED_IMAGE_DIRECTION is newer code to properly handle
> gradient computations when directions are present. I suspect it will
> be defined by default in a future release.
>
> I recommend using OrientedImage if your images have different directions.
>
> Admittedly, the code should be documented better. Can you file a bug
> report for that and assign it to me?
>
> Regards,
>
> Bill
>
> On Fri, Jul 25, 2008 at 4:08 PM, Hans Johnson <hans.j.johnson at gmail.com>
> wrote:
>> Bill,
>>
>> I've been looking at the itkOrientedImge class and would appreciate your
>> input.
>>
>> 1)  The documentation for this class is very limited, and does not state
>> how
>> an itkOrientedImage is different from an itkImage.  It just states what
>> funding was used to generate this class.
>>
>> 2) There are several "#if 1/#else/#endif" sections in the code which
>> indicates to me that perhaps this code is still in a debugging state and
>> the
>> behavior may change once the correct behavior is figured out.
>>
>> 3) #ifdef ITK_USE_ORIENTED_IMAGE_DIRECTION  :  if this is not defined,
>> does
>> the itkOrientedImage behave like the itkImage?
>>
>> 4) When would you recommend using this class for a registration program
>> intended to public distribution?
>>
>> ============
>>
>> On the surface, it seems that it takes care of some issues with
>> registering
>> images that have different image directions to start with.
>>
>> Thanks,
>> Hans
>>
>>
>>
>>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
>


More information about the Insight-developers mailing list