Search found 2 matches

by msundman
2017-03-22T15:16:55-07:00
Forum: Users
Topic: Median resize
Replies: 5
Views: 4325

Re: Median resize

Ooh, thank you so much! Hmm.. $ convert a.jpg +write info: -statistic median 5x5 -crop 5x +repage -crop 1x+1+1 +repage +append -crop x5 +repage -crop x1+1+1 +repage -append +write info: b.jpg a.jpg JPEG 2296x1724 2296x1724+0+0 8-bit sRGB 0.010u 0:00.030 a.jpg JPEG 459x345 8-bit sRGB 0.000u 0:00.000 ...
by msundman
2017-03-22T14:26:00-07:00
Forum: Users
Topic: Median resize
Replies: 5
Views: 4325

Median resize

I've been reading the examples but can't make head or tails of this thing, which is probably simple for someone much smarter than me.. :) The end result I seek is to coalesce each 5x5 pixel square into 1 pixel that's the median of those 25 pixels. (The median of input pixels {0,0}-{4,4} become outpu...