[Insight-Users] Unix->Linux
Mathieu Malaterre
malat@free.fr
Wed, 06 Nov 2002 18:12:48 +0100
Haydar,
I am just guessing, but could it be a big endian vs. little endian
file reading problem ?
HTH
mathieu
Haydar Talib wrote:
> Hello all, I have a small problem, perhaps someone may have a
> solution. Basically the problem is that some code will behave
> differently depending whether it is compiled on Unix and Linux. The
> code I am running uses four filter functions, including the Gaussian
> filter and GrayScaleErode and dilate. On Solaris, the code compiles
> and runs without any problem. On Linux, however, the code will compile
> but the output is not as expected. For the case of using a Gaussian
> filter, the Linux version behaves normally. When using dialte and
> erode, however, the output image is comprised entirely of zero-value
> pixels. The program is meant to display both the input image and the
> output image. The input image is always correctly displayed, but for
> the case of using Erosion and Dilation the output is surprising. The
> Solaris version yields the expected output image when using Erosion
> and Dilation. Does anyone know what could cause this strange discrepancy?
> Thank you in advance,
> Haydar Talib
>
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE*
> http://join.msn.com/?page=features/virus
>
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
>
>
--
Le superflu n'est inutile qu'ŕ ceux qui pensent que le nécessaire est suffisant (P. Desproges)
Mathieu Malaterre
170 chemin des minimes
01600 PARCIEUX
http://mathieu.malaterre.com