View Single Post
Old 07-15-2009, 01:53 PM   #9
Kostas
Still wondering why
Kostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-books
 
Kostas's Avatar
 
Posts: 253
Karma: 800
Join Date: Jun 2009
Location: Athens, Greece
Device: PRS 505, (BlackBerry Bold ?)
Quote:
Originally Posted by frediz View Post
I'll add a vertical splitting filter, this will avoid the workaround (and
additionnal time) of rotating back and forth the pictures with mhs.
Well, what can I say! Thanks again...


Quote:
Originally Posted by frediz View Post
mean ? min ?
Actually splitting is done this way : horizontal lines of pixels are read one by one
from top to down. All the pixel color of the line are converted to a gray level. From black pixels (value 0) to white pixels (255)
When the current line meets a criteria (provided other criteria such as s are also ok) the picture is cut here.
The criteria can be :
- minimum criteria (mhs) : the pixels should all be lighter (whiter ?) than a given value m : this way of doing will rarely cut dark lines in the picture (depends your m).
- average criteria (ahs) : an average of all the pixels value of the line is computed and it shouldnt be too dark to be cut. This means that if the line
is white with few black pixels, it could be cut. This criteria is less strong than the one of mhs and your pictures could be cut in more places, not necessarly the good ones. Depends.
Lol I am an idiot!!
Now I get the picture...

Quote:
Originally Posted by frediz View Post
Sorry for my bad english, I hope to be understandable though
Don't worry, mine is worse...
Kostas is offline   Reply With Quote