Finger Pointing in IDL [message #53420] |
Fri, 13 April 2007 14:24  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
As Mike Galloy reminded me yesterday, CONGRID does not allow
nearest neighbor re-sampling in 3D. It *always* interpolates
3D arrays.
So today I get someone complaining about TVIMAGE and the
fact that when you are displaying a 24-bit image and you
set the /NOINTERPOLATE keyword that is still interpolates
the data. Of course, I don't use CONGRID to resize the
image, I use CMCONGRID. So I am inclined to believe the
problem properly belongs to Craig and his lousy program. :-)
But, of course, the only reason I'm using CMCONGRID is
that I (used) to believe it was much better than CONGRID.
So here is my dilemma. I am now being asked to fix a problem
that is at least two programs removed from my own program.
What are my responsibilities here?
Should I fix it in my programs (lots of work), ask Craig
to fix it in his (less work, at least for me), or request
ITTVIS make CONGRID work in a manner that we would all
prefer it would work (probably less work, since they could
copy Craig's fixes for their program, and I could explain to
them how to fix my current problem)?
I thought it would be interesting to hear your opinion.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|