Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: How to detect brightest spot among all spots?

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to detect brightest spot among all spots?

    I am doing a project in which i need to find the coordinates of a red laser dot on a screen. The screen can be plain or the desktop can be projected on a screen. Kindly tell me how do i detect the red spot? Thank you in advance.


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: brightest red spot detection

    Hello BharatT,

    Take a look at this link, it may help you:

    Circular Hough Transform Demonstration
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

  3. #3
    Junior Member
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: brightest red spot detection

    Now i am able to track the red dot but the problem is that i get a cluster of red pixels so the tracked dots are not stable when i get the pixels from successive frames. I tried to find the pixel using the first red spot but that reduced the problem to a small extent. So kindly tell me how i can stabilize the dot across multiple frames.

  4. #4
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: brightest red spot detection

    Hello BharatT,

    I am glad you have managed to move forward. Is it possible to post your code?

    I have no experience in this what so ever and I wouldn't know where to begin!
    Hopefully another member here will be able to help you.

    If I find any new information I will post back asap.
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

  5. #5
    Junior Member
    Join Date
    Dec 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: brightest red spot detection

    Hi JavaPF,
    Thank u. I have not yet put the code in an understandable format. I have used lots of comments and variables. I will put them them down properly and send it. Please send me ur mail id.

Similar Threads

  1. String substring, concatenation operation on linked list
    By oaks12 in forum Collections and Generics
    Replies: 1
    Last Post: January 15th, 2009, 07:12 AM