简体   繁体   English

从人的手掌图像读取手掌线像素

[英]Reading palm line pixels from an image of human palm

I am working on a software which takes an image of human palm as input and then reads the lines of this palm to give prediction. 我正在开发一个软件,该软件将人手掌的图像作为输入,然后读取手掌的线条进行预测。 We are successfully able to read the pixels of this image. 我们能够成功读取此图像的像素。 But, still we are nowhere near reading exactly the pixels of line. 但是,我们仍然无法准确读取线的像素。

If anybody has worked on such a project, please help. 如果有人从事过这样的项目,请提供帮助。

I have tried Googling for this, but the results are not satisfactory. 我为此尝试了Googling,但结果并不令人满意。 I'd like to get some inputs as in, what should be the proper methodology to perform reading of an image? 我想输入一些信息,执行图像读取的正确方法应该是什么? Is there any API available for this in Java? Java是否有为此提供任何API?

Images: 图片:

图片1图片2图片3图片4图片5图片6图片7图片8图片9

There are two possible options to help you get started on this: 有两种可能的选项可帮助您入门:

  1. Java2D Java2D

  2. JAI - Java Advanced Imaging JAI-Java高级映像

Thanks everyone for your responses. 感谢大家的回应。 Your responses have helped me to great extent. 您的回应在很大程度上帮助了我。 Meanwhile, I've been reading Image Thresholding. 同时,我一直在阅读图像阈值。 The process I'm following is somewhat like this: 我正在遵循的过程有点像这样:

1) I'm sure that images my software would be getting as input would be of the above type only. 1)我确定我的软件将获得的图像仅是上述类型的输入。 That is, the images would be gray-scale and would be of hands and nothing else. 也就是说,图像将是灰度的,并且将是手,没有别的。 2) I'm choosing a threshold value against which I'll check pixels of this hand image. 2)我选择一个阈值,我将根据该阈值检查此手形图像的像素。 3) If the value of this pixel is less than my threshold, I'll convert that pixel into black. 3)如果此像素的值小于我的阈值,则将其转换为黑色。 4) Otherwise I'd be converting it into white. 4)否则我将其转换为白色。

This way I'd have an image that contains only black and white pixels. 这样,我的图像将仅包含黑白像素。 I suppose after this I can proceed with finding the palm lines. 我想在此之后我可以继续寻找棕榈线。 Please suggest me if anybody has any steps to proceed further. 如果有人有任何进一步的步骤,请提出建议。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM