[Insight-users] Re: image size & building Applications outside InsightApplications
: FLTK configuration
Luis Ibanez
luis . ibanez at kitware . com
Mon, 15 Dec 2003 16:02:55 -0500
Hi Sharad,
1) The reason why your image is not being read by
ITK is that the extension ".PNG" is in uppercases.
We plan to remove this extension checking in the
near future... but in the meantime, the simple
solution for you is to rename the file for having
an extension ".png" in lowecases.
2) About your attempt for building applications outside
InsightApplications: When you get an error message
indicating that FLTK_WRAP_UI is not defined, it means
that you have not yet provided all the FLTK components.
You need to specify the location of FLTK libraries,
headers and fluid executable.
This problem is so frequent that a FAQ entry was logged
for it. Please look at the following FAQ link for the
solution:
http://www . itk . org/cgi-bin/InsightFAQ/InsightFAQ?req=show&file=faq03 . 005 . htp
Please let us know if you find further problems
Thanks
Luis
-----------------------------------
sharad at lynx . eng . fsu . edu wrote:
> Hi luis
> i am using an 640*480 png image and i tried using it on different applications
> like the gaussian 2D and image viewer but i get an error message saying
> "Debug Error"
> "abnormal program termination"
> Abort,retry, ingnore
> i want to use the same images for my application. i am actually
> converting my 640*480 bmps to a png file using windows picture viewer. i
> am attaching the image i am using which is a image from ccd camera of
> fluorescence microscope of micro channels with some dye in it.
>
> further when i want to build an application outside say the ImageViewer
> i am having some problems. i copied the fltkimageviewer and ImageViewer
> files in a new directory and changes the CMakelists files as follows
> for fltkimageviewer
> i followed the procedure u mentioned in the posting
>
> http://www . itk . org/pipermail/insight-users/2003-December/005780 . html
>
> but i get an error saying FLTK_WRAP_UI called with FLTK_WRAP_UI undefined
> and then i go to the advanced mode in cmake and checked if the fltk dir
> files were proper or not but i didnt find them atall and
>
> then i tried to add the line
>
> OPTION(USE_FLTK "Use FLTK (The Fast Light Toolkit) for GUI (some
> applications need this)" OFF)
> in the cmakelists for fltkimageviewer and i get two options saying
> fltk_version_1.1 on/off
> fltk_version_1.0.11 on/off options
> and then i kept the version 1.1 on and gave the proper path for fltk
> variable it was working
>
> and when i try to build the fltkimageviewer i get some 30 errors saying
> "fatal error C1083: Cannot open include file: 'FL/Fl.H': No such file or
> directory
> fltkTimeProbesCollectorGUI.cxx"
> all of them saying that the *.h not found
>
> so what could be the possible solution for this
>
>
> thanks a lot for all the help luis
> regards
> sharad
>
> On Sat, 13 Dec 2003 11:10:10 -0500 Luis Ibanez wrote:
>
>
>>Hi Sharad,
>>
>>1) What application are you using ?
>>2) What image file format are you using ?
>>3) Do you get any error message from the application ?
>>
>>Image size should be taken from the file format.
>>You don't need to modify any application in order
>>to read a particular image.
>>
>>Some of the applications expect 3D images,
>>they may not accept a 2D image as input...
>>
>>
>>Please give us more details on your problem...
>>
>>Thanks
>>
>>
>> Luis
>>
>>
>>------------------------------
>>Sharad Kumar Somanchi wrote:
>>
>>>hi luis
>>>i am trying to load a 640*480 image into the applications but it doesnt
>>>accept it what changes should i make to read that image
>>>
>>>thanks a lot for your guidance
>>>
>>>regards
>>>sharad
>>>
>>>
>>
>>
>
>
>
>
> ------------------------------------------------------------------------
>