[Insight-developers] Requiring DirectionCollapse for 3D to 3D extraction
Johnson, Hans J
hans-johnson at uiowa.edu
Thu Feb 10 09:08:43 EST 2011
Brad,
Tounge-in-check response: Yes, of course the strategy is still needed....In that case the strategy is often obvious that the directions should stay the same :) You always need a strategy.
The old fitler would change behavior based on whether the image sizes were the same, and also based on the data that was presented to the filter. This was cuasing several subtle algorithmic failures that were really hard to track down. There was no way to do this in a backwards compatible manner, so I took a path that explicitly raised the issue with all developers and force them to make an informed decision about what they wanted to do. We have previously tried to guess what the correct strategy is programatically, but that was a horrible failure and often caused application to fail based on what data was provided. We had a situation where we could not find a universal solution to the problem without asking the application programmer to review the intent of the filter.
Hans
________________________________
From: Bradley Lowekamp [blowekamp at mail.nih.gov]
Sent: Thursday, February 10, 2011 8:00 AM
To: ITK Developers
Cc: Johnson, Hans J
Subject: Requiring DirectionCollapse for 3D to 3D extraction
Hello Hans,
When doing a 3D to 3D subregion extraction with the itk::ExtractImageFilter is the DirectionCollapse strategy really required?
Brad
========================================================
Bradley Lowekamp
Lockheed Martin Contractor for
Office of High Performance Computing and Communications
National Library of Medicine
blowekamp at mail.nih.gov<mailto:blowekamp at mail.nih.gov>
________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110210/6f4e7e5d/attachment.htm>
More information about the Insight-developers
mailing list