[Insight-users] About DeformableRegistration
Luis Ibanez
luis.ibanez at kitware.com
Wed Apr 7 18:37:45 EDT 2010
Hi Jesse,
1) What is the scalar range of the original image ?
You are usually safer by using
signed short
than by using
unsigned short
Since some modalities actually carry negative
numbers (for example CT).
Please try again, by using "signed short" as
the pixel type.
2) Yes, it is possible to create DLLs
out of ITK modules.
The first thing that you want to do is to define
a C API that will allow you to communicate
with the modules in the DLL.
For examples on how to do this, please look at
InsightApplications/VolViewPlugins/
http://public.kitware.com/cgi-bin/viewcvs.cgi/VolviewPlugIns/?root=InsightApplications
Regards,
Luis
-----------------------------------------------------------------
On Wed, Apr 7, 2010 at 5:02 AM, Jesse <xdjesse at yahoo.com> wrote:
> Hi,
>
> I have two questions.
>
> 1 when I used DeformableRegistration12 to register two 2d images, the image
> is 14bit, I modify the line as
>
> typedef unsigned short PixelType;
>
> typedef unsigned short OutputPixelType;
>
> the result pixel value is deferent from the expect value, just like there is
> 16384 deference
>
> 2 is it possible to built itk as dll? for example, I only want to extract
> DeformableRegistration12 from itk and compile as a dll, how to do it?
>
>
>
> Regards
>
>
>
> jesse
>
More information about the Insight-users
mailing list