[Insight-users] Problems with itkMultiScaleHessianBasedMeasureImageFilter

Manzke, Robert robert.manzke at philips.com
Wed Dec 15 13:03:30 EST 2010


Hi Nick, 

Thanks, would you recommend checking the nightly itk version or smaller 3.20?

Best,
Rob

-----Original Message-----
From: Nicholas Tustison [mailto:ntustison at gmail.com] 
Sent: Wednesday, December 15, 2010 11:29 AM
To: Manzke, Robert
Cc: Luca Antiga; insight-users at itk.org
Subject: Re: [Insight-users] Problems with itkMultiScaleHessianBasedMeasureImageFilter

Hi Robert,

I remember having a similar issue and later it was discovered that somebody, I believe it was Brad Lowenkamp, had made some changes which he later corrected.  Perhaps your current configuration doesn't reflect this correction.

Nick


On Dec 15, 2010, at 11:14 AM, Manzke, Robert wrote:

> Hi Luca, 
> 
> I successfully compiled and ran your original submission code, works fine, image results are correct.
> 
> However, the code in the itk 3.20 review directory for
> 
> itkMultiScaleHessianBasedMeasureImageFilter
> 
> including the tests does not seem to work.
> 
> Is anyone aware of this?
> 
> Thanks a lot!
> Rob
> 
> -----Original Message-----
> From: Luca Antiga [mailto:luca.antiga at gmail.com] 
> Sent: Tuesday, December 14, 2010 5:01 PM
> To: Manzke, Robert
> Cc: insight-users at itk.org
> Subject: Re: [Insight-users] Can't get itkMultiScaleHessianBasedMeasureImageFilter to work
> 
> Hi Robert,
> the code from the submission compiles for me. 
> 
> In your case it looks like you just compiled the file I sent, while you should compile the whole source directory (http://www.insight-journal.org/browse/publication/175). The reason for this is that, as you figured out, the code has undergone some refactoring while moving into ITK Review.
> 
> However, if you did that already, it might be that your compiler sees the files in Review first instead of the ones in the source code directory (some of which have the same name), in which case I suggest you compile the code against a version of ITK configured with USE_REVIEW=OFF in CMake. This way you'll run no risk of collisions.
> 
> Let me know if you can get the code to compile.
> 
> Best regards
> 
> Luca
> 
> 
> On Dec 14, 2010, at 2:49 PM, Manzke, Robert wrote:
> 
>> Hi Luca,
>> 
>> thanks for getting back!
>> 
>> I have tried compiling your original code with 3.20 which didn't work (attached the build log).
>> Then I have compiled the test files which comes with 3.20 itkMultiScaleHessianBasedMeasureImageFilterTest.cxx (attached and slightly modified for .png output), which does compile but produces junk output images (attached, I used same parameters as you used for your example).
>> 
>> The code in the test is pretty different from your original code, so I guess that things were modified/adapted when it was included in ITK..?
>> 
>> I have no idea how to get it working, do you have any insights?
>> 
>> Thanks so much
>> Rob
>> ________________________________________
>> From: Luca Antiga [luca.antiga at gmail.com]
>> Sent: Monday, December 13, 2010 16:36
>> To: Manzke, Robert
>> Cc: insight-users at itk.org
>> Subject: Re: [Insight-users] Can't get  itkMultiScaleHessianBasedMeasureImageFilter to work
>> 
>> Hi Robert,
>> not sure what's going on in your case.
>> Please find attached a slightly modified version of the example in my IJ paper that saves to png. I attach what I just got  on my MacOS 10.6, using an ITK 3.20 build. I'm referring to the IJ paper since I see your code is based on those classes.
>> 
>> Can you please check that by replacing the attached file in my submission, building and running
>> ./MultiScaleObjectnessExample2D DSA.png DSA_out.png DSA_scales.png 1.0 10.0 10 1
>> you're getting the same output as the image in attachment?
>> 
>> Thanks for your feedback
>> 
>> Luca
>> 
>> 
>> 
>> The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
>> <buildlog.txt><itkMultiScaleHessianBasedMeasureImageFilterTest_modified.cxx><DSA_out.png><DSA_out2.png><DSA_scales.png><DSA_scales2.png>
> 
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users




More information about the Insight-users mailing list