Tracy, I am just guessing here.
You mention 1r5 and 2 but you don't mention the 10 in the maximizing filter. But 10%2 = 5. I am puzzled also though because the moving average of length 8 remove 4 items on each edge, too. So maybe the resizing cannot and is not exact. But the sizing is pretty close according to my approximate manual measurement on my screen. On Fri, Jan 25, 2013 at 11:46 AM, Tracy Harms <[email protected]> wrote: > This is primarily a question for Oleg, but I'm posting it here because I'm > hoping for an answer more quickly than he may be able to provide. It is in > regard to one of his pages on the J wiki: > > http://www.jsoftware.com/jwiki/OlegKobchenko/Background%20Removal > > The line I'm looking at is this one: > > S=: |: _10(>./)\|: _10(>./)\ M > > > What I'm doubting is the correctness of M, the root value of this noun > phrase. R, created before this sentence, is only used for display. (Shape, > viewwh, and plot are all used to examine R, after which it's ignored.) > > Perhaps the point of computing R is to see the features via plot. If so, > I'd love to see that plot included on this page. > > In that case, though, I'm not sure why there would be a need to restore > size, which is accomplished in defining Z. > > Even if R is the correct value for the far right of the sentence that > defines M, I'm confused. The image is reduced to 1r5 its previous length > along each axis, while Z enlarges it by doubling the length of both axes. > This doesn't make sense to me, and I don't see another reduction to be > undone. > > Tomorrow I'll be discussing Oleg's Background Removal during my > presentation at PrizCon, so replies that occur today have a chance of > helping in ways that later ones won't. (However, I anticipate presenting > this example in future talks, also.) > > Thank you, > Tracy > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- (B=) <-----my sig Brian Schott ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
