auto crop image (need idea or code)
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
symmm
el 24 de Abr. de 2017
Comentada: symmm
el 26 de Abr. de 2017
Hey. I want to auto crop/trim the attached image. An image for every kanji character should be the solution. thanks for the help.
2 comentarios
Rik
el 24 de Abr. de 2017
Unless every pixel is identical for each character, this will be very difficult. If you are in luck, you can simply look for completely white rows to separate the characters.
Image Analyst
el 24 de Abr. de 2017
It looks like there is kerning involved, so looking for white columns won't solve the problem.
Respuesta aceptada
Image Analyst
el 24 de Abr. de 2017
I suggest you look here for published solutions and algorithms that work: http://www.visionbib.com/bibliography/contentschar.html#OCR,%20Document%20Analysis%20and%20Character%20Recognition%20Systems
23.4.4 Chinese and Kanji Characters
23.4.4.1 Chinese Characters, Review, Survey, Evaluations
23.4.4.2 Chinese Characters, Using Stroke and Radical Analysis, Features
23.4.4.3 Chinese Characters, Japanese Characters, Handwritten
23.4.4.4 Online Recognition of Chinese Characters
23.4.4.5 Chinese Character Seals
6 comentarios
Image Analyst
el 25 de Abr. de 2017
Editada: Image Analyst
el 26 de Abr. de 2017
symmm, just try the attached code and you'll see it gets every character in every row.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!