English 中文(简体)
Get time from the clock image in Matlab - Image Processing
原标题:

clock http://img710.imageshack.us/img710/2623/circlock.jpg

I do not know how to determine the top of the needle of the clock. If you determine the coordinates of them, I can think of the time of the clock.

Please help me solve this problem. Thank you very much!

最佳回答

Test points in a circle of radius M, around the centre of the clock. (You could use a for loop to vary the angle from -pi to pi.)

First set M so that the long hand will touch the circle but not the short hand. You will find a region of black points and these reveal the angle of the long hand.

Then repeat with smaller M, so your circle will cross both hands. If you identify two different black areas, you can decide which one is the long hand due to the previous step. (But if the hands are overlapping you may not see two different areas.)

问题回答

暂无回答




相关问题
Resources for Image Recognition

I am looking for a recommendation for an introduction to image processing algorithms (face and shape recognition, etc.) and wondered if anyone had an good recommendations, either for books, ...

Good reference book for digital image processing? [closed]

I am learning digital image processing on my own and would like recomendations on good reference books. If you know of books to definately stay away from that would be useful as well. Thanks

Python Tesseract can t recognize this font

I have this image: I want to read it to a string using python, which I didn t think would be that hard. I came upon tesseract, and then a wrapper for python scripts using tesseract. So I started ...

What s the quickest way to parallelize code?

I have an image processing routine that I believe could be made very parallel very quickly. Each pixel needs to have roughly 2k operations done on it in a way that doesn t depend on the operations ...

Computing object statistics from the second central moments

I m currently working on writing a version of the MATLAB RegionProps function for GNU Octave. I have most of it implemented, but I m still struggling with the implementation of a few parts. I had ...

Viola-Jones face detection claims 180k features

I ve been implementing an adaptation of Viola-Jones face detection algorithm. The technique relies upon placing a subframe of 24x24 pixels within an image, and subsequently placing rectangular ...

热门标签