2d filters and large images (continued from ASSOC) [message #39597] |
Wed, 26 May 2004 16:37 |
Jonathan Greenberg
Messages: 91 Registered: November 2002
|
Member |
|
|
So I probably should have asked a more general question (thank you for the
feedback on ASSOC, by the way). I was hoping to get some feedback on how to
apply 2-d filters of various sizes to a large 2-d image (too big to load the
entire file into memory) -- which ways would work the best? Right now, if
my filter is, say, 5 x 5, I grab 5 lines of the image and run through the
center pixels (row 3 in the subset) and apply the filter, then grab the next
line and create a new 5 line x number of samples chunk.
Are there better/quicker/easier ways of applying filter like this?
--j
--
Jonathan Greenberg
Graduate Group in Ecology, U.C. Davis
http://www.cstars.ucdavis.edu/~jongreen
http://www.cstars.ucdavis.edu
AIM: jgrn307 or jgrn3007
MSN: jgrn307@msn.com or jgrn3007@msn.com
|
|
|