HSV values of Image pixel using JavaCV


This post will explain how to get HSV color space values of Image pixel using JavaCV.
For JavaCV setup on Windows, follow link below
http://opencvlover.blogspot.in/2012/04/javacv-setup-with-eclipse-on-windows-7.html

If you want to access RGB color space values, then refer to link below
http://opencvlover.blogspot.in/2013/02/rgb-values-of-image-pixel-using-javacv.html

Pixel values in HSV color space are often required in Image processing. Following gist demonstrates how to access and print pixel values in HSVcolor space. We first convert image from RGB color space to HSV color space using 'cvCvtColor()''. We can call 'cvGet2D()' function to access image matrix and use it get pixel values at desired location.

This will print HSV values in console. This code comes really handy while using manual threshold.
You can fork me on github for complete project of this code.
https://github.com/nikhil9/getHSV

14 comments:

  1. HERPES CURE
    I can’t believe my genital herpes is really cured, oh is by this time last year I start feeling bad about my life, I feel pain everyday of my life am very happy now that am really cured I couldn't have do this on my own I wish is not God that help me with my herpes I was searching the internet about this sickness last 3month when I found about great doctor aye, the man that keep his words I write the man email about my problem immediately I get a reply from him asking me to fill a form which I immediately did and send back to him after some mins he reply me that he have work on my cure that I need to provide some materials, which can enable him to work on my cure which I did on the next day of it, after some hours he inform me that he have getting the things needed for the cure and he is about to go on with the curing spell he called me again after 50mins that he is done with the cure that I should check my body and also go for test I cant believe I was negative a big thanks to him am very happy now with my family you can also get your self cured too from this sickness by contact him through .AYESPELLALTER@GMAIL.COM

    ReplyDelete
    Replies
    1. I have read your blog its very attractive and impressive. I like it your blog.

      Java Training in Chennai Core Java Training in Chennai Core Java Training in Chennai

      Java Online Training Java Online Training JavaEE Training in Chennai Java EE Training in Chennai

      Delete
    2. BEST DIVORCE SPELL CASTER 

      I recently saw a testimony about a spell caster of some sort in a blog I visit for relationship and dating counseling problems because i had been having serious issues with my husband and we had been married for 3 years,he just suddenly changed, he was returning my calls ,he started cheating, he was hurting me in so many ways i never thought possible and I just thought I should try it maybe out of desperation of some sort ..and I think for a thought about the spell caster called DR UGO WONDERS I contacted him At first everything felt dreamy and unbelievable, their consultations and solution was a little bit easy and strange and I was scared a little cos I heard read and heard lots of stories of fake spell casters, scams and i never really believed in magic.. I played along with a little hope and and faith and I was sent some few stuffs after everything and it worked like a miracle, everything went to a while new direction, I guess it was all good faith that made me read That particular post that faithful day.. I hope they could help other people too like they did a little and I got everything I wanted and wished for my husband, my family and my life back to contact the DR UGO WONDERS through is email and cell number at :::  generalspelltemple@gmail.com or his mobile number on +1 386-336-9876 



      BEST DIVORCE SPELL CASTER 

      I recently saw a testimony about a spell caster of some sort in a blog I visit for relationship and dating counseling problems because i had been having serious issues with my husband and we had been married for 3 years,he just suddenly changed, he was returning my calls ,he started cheating, he was hurting me in so many ways i never thought possible and I just thought I should try it maybe out of desperation of some sort ..and I think for a thought about the spell caster called DR UGO WONDERS I contacted him At first everything felt dreamy and unbelievable, their consultations and solution was a little bit easy and strange and I was scared a little cos I heard read and heard lots of stories of fake spell casters, scams and i never really believed in magic.. I played along with a little hope and and faith and I was sent some few stuffs after everything and it worked like a miracle, everything went to a while new direction, I guess it was all good faith that made me read That particular post that faithful day.. I hope they could help other people too like they did a little and I got everything I wanted and wished for my husband, my family and my life back to contact the DR UGO WONDERS through is email and cell number at :::  generalspelltemple@gmail.com or his mobile number on +1 386-336-9876 

      Delete
  2. We all knows that the HERPES is a highly contagious disease and can easily spreads throgh skin to skin contact or while having sexual exposure to HERPES Simplex Virus . many scientist believe that HERPES Simplex Virus can't be cured yet that's why they claims that this is a type of chronic disease. But you shouldn't underestimate the power of nature. if it couldn't be able to cure your HERPES Simplex Virus then no other ways can cure herpes. but yes if you choose natural remedy than this atleast boost up your immune system and you can better fight with herpes.

    ReplyDelete
  3. Am very happy to tell everyone about the greatest spell caster of all time Dr Henry of PERMANENT SPELL CAST. I lost contacts with my Husband few months after we broke due to some quarrels we had, i searched for him for reconciliation, but all my efforts was lost and i turned hopeless until i came in contact with Dr Henry, who helped me with his voodoo spell to locate where my husband was and also helped me cast a love spell on him. The Dr told me that my Husband will come back to me after 4 days of the spell, and i was so surprised that it all happened as the Dr said it will, my husband came back to me for a reunion after 4 days of the spell. Now am very happy with my family, and my husband has loved me more than ever, since the spell was cast on him by Dr Henry.You can also get help from this Great Dr on Permanentspellcast@gmail.com or on Whatssapp 2348100663964
    Permanentspellcast@yahoo.com
    Permanentspellcast@hotmail.com

    ReplyDelete
  4. Hello Everybody,
    My name is Mrs Sharon Sim. I live in Singapore and i am a happy woman today? and i told my self that any lender that rescue my family from our poor situation, i will refer any person that is looking for loan to him, he gave me happiness to me and my family, i was in need of a loan of S$250,000.00 to start my life all over as i am a single mother with 3 kids I met this honest and GOD fearing man loan lender that help me with a loan of S$250,000.00 SG. Dollar, he is a GOD fearing man, if you are in need of loan and you will pay back the loan please contact him tell him that is Mrs Sharon, that refer you to him. contact Dr Purva Pius,via email:(urgentloan22@gmail.com) Thank you.

    BORROWERS APPLICATION DETAILS


    1. Name Of Applicant in Full:……..
    2. Telephone Numbers:……….
    3. Address and Location:…….
    4. Amount in request………..
    5. Repayment Period:………..
    6. Purpose Of Loan………….
    7. country…………………
    8. phone…………………..
    9. occupation………………
    10.age/sex…………………
    11.Monthly Income…………..
    12.Email……………..

    Regards.
    Managements
    Email Kindly Contact: urgentloan22@gmail.com

    ReplyDelete
  5. I want to say a big thanks to the Woman in Ghana Accra who is behind my smiles today by reuniting me and my Husband after he divorced me, Mama Anita who is a very powerful spell caster brought my husband back to me and made him beg me to forgive him for everything he did to me, i really missed him so much and always loved him. Am happy to have him back in my life and all my appreciations goes to Mama Anita for helping me and bringing my husband back to my life with his great powers. My friends out there who are going through marriage problems and divorce issues i assure you that you can get your lover back to your life with the help of Mama Anita. You can reach him on: (mamaanitaspellcraft@solution4u.com and mamaanitaspellcraft.org@gmail.com or whatsapp +233553866486) She has the best solution to relationships and marriage issues.

    ReplyDelete
  6. Thanks to Lord Henry of Permanent Spell Cast www.permanentspellcaster.com for helping me restore my broken marriage. I never thought i could get my husband back after our 8 months of divorce, but the powers of Lord Henry proved my thoughts wrong by getting my husband back to me just within 3 days. For the months my husband left me, i hardly coped because i loved him so much though i really didn't knew what happened that he left home and filed for divorce after 3 years of our marriage. I emailed to Lord Henry on permanentspellcast@yahoo.com and WhatsApp on +2348100663964 for help regarding the divorce and he helped me with his powerful love spell that brought my husband back home to me. Thanks Lord Henry and i love you for the good works you have done for me and my kids.
    God bless you so much...

    ReplyDelete
  7. Thanks to Lord Henry of Permanent Spell Cast www.permanentspellcaster.com for helping me restore my broken marriage. I never thought i could get my husband back after our 8 months of divorce, but the powers of Lord Henry proved my thoughts wrong by getting my husband back to me just within 3 days. For the months my husband left me, i hardly coped because i loved him so much though i really didn't knew what happened that he left home and filed for divorce after 3 years of our marriage. I emailed to Lord Henry on permanentspellcast@yahoo.com and WhatsApp on +2348100663964 for help regarding the divorce and he helped me with his powerful love spell that brought my husband back home to me. Thanks Lord Henry and i love you for the good works you have done for me and my kids.
    God bless you so much...

    ReplyDelete


  8. I had doubts about magic spells after purchasing many spells that never worked I actually decided to never buy a spell again. I have tried different spell casters..Some of them never answered me after I paid and were obvious scammers, some really cast a spell but for some reason it didn't work. Then I saw a video on you-tube with a person who was mentioning she had results with Mama Anita. Despite the suspicions I had her site looked real so I gave spells a last try. It's probably the best decision I ever made in my life because it worked and my boyfriend came back with me After I broke up with him I spent a lot of time wishing that I could just turn the clock backwards.He helped me do just that. In fact our relationship feels like the break up never even happened. We have never been this happy or passionate, all thanks to mama Anita. If you're looking for a good spell caster look no further,you can contact her straight on (mama.anitatruelovespell@gmail.com).or (mamaanita.lovespellsolution@gmail.com)

    ReplyDelete
  9. My name is Lynda Cransler from USA .I am here to give a testimony on how I
    got my ex Husband back. My ex left me for no reason 3 years ago. He moved
    in with another woman, I felt like killing myself, my life became very
    bitter and sorrowful. Then a friend of mine told me about a great spell
    caster that is very good to help my problem and, my friend also said that
    the spell caster heal her HIV/AIDS, make her Aunt to give birth to a child
    after ten years of marriage. I didn't believe it because I've worked with
    so many of them and it didn't work. He begged me further so I decided to
    try this great spell caster called Dr Solution. I still didn't believe. but
    I used the spell he gave me and the next day I received a call from my
    darling Husband Thomas last week. He apologized and came back to me. He
    even gave me some money as a means of compensating me. I'm very happy now
    thank you Dr. For any problem you can reach the Dr Solution via email:spellcaster.powercaster@gmail.com is 100%
    guaranteed and no matter what the problem is,the spell works for the power
    behind it is very powerful and secured, no harm and very easy, And in this
    work they are rules that can never be violated: {1} Do not tell anybody
    about the spell until you have seen the result {2} Do not work with them
    and the same time work with another spell caster it is either you make a
    choice {3} Do not come for jokes or take spell casting for granted. You
    need solution in your family, Marriage, business, Love charm for man and
    woman you need Favor from everyone or whatever it maybe, you need quick
    money just contact the great spell caster. But before he start with the
    casting of the spell this information will be needed, YOUR NAME:...........
    YOUR COUNTRY:.............. AGE: ........ AND YOUR REQUEST:........... Send
    it to spellcaster.powercaster@gmail.com

    ReplyDelete
  10. Nationwide Loan Firm can offer you any type of loan that you are applying for. I want you to know that we are approved and certified lender with years of experience in lending and I give out Collateral or Non Collateral loan amounts ranging from $2,000.00 -$500,000,000.00 USD with a fixed interest of 3% on an annual basis.
    Do you need a loan? Are you in a financial crisis or need money to start your own business? Do you need loan to settle your debt or pay off your bills or start a nice business? You have a low credit score and have difficulties in obtaining capital loans from local banks and other financial institutions? Here's your chance to get a loan from our firm {NATIONWIDE LOAN FIRM}. We offer loans to individuals for the following purposes and more. Personal Loan, Business Expansion, Entrepreneurship, Education, debt consolidation loans hard money. We offer loans at low interest rate of 3%. Contact us today by sending your details to our Email: nationloanoffer@gmail.com

    ReplyDelete
  11. Illuminati church is now open for people from any part of the world to join
    and become rich, famous and have powers to get what they want and to win
    any Political election in any office with 10,000,000 USD given to each
    members that join. To Join E-mail illuminatichurch775@com>yahoo.com and be among
    the richest peoples on the world. It very easy no ritual just believe in
    him and worship him it will work for you, ILLUMINATI BENEFIT (
    illuminatichurch775@yahoo.com

    ReplyDelete
  12. I'm so amazed to witness the great powers of Dr Henry’s permanent love spell. I have suffered heartbreak and I know the pains each woman feel when left out of marital happiness. I and my husband was divorced after our 17 years in marriage, my parent and his mother tried all they could to make the marriage work again by begging him to return home but all was to no avail. I myself did so many things in several different ways to get him back because I loved him so much but is didn't help at all, instead it all went from bad to worse until I was browsing through some of this website where I found wonderful reviews about this real spell caster called Dr Henry. I read the way Dr Henry has miraculously helped so many individual from relationship problems and I was so bewildered by the fast way Dr Henry helped this many men and women. I immediately contacted his emaiL: permanentspellcast@yahoo.com and complained about my situations to him. I got a quick immediate response from him that he will help me with his permanent love spell that will bring my husband back home to me within 72 hours. I believed him out of what i just read about him and did follow his instructions till the love spell was done. I was sitting at our house the 3rd day after the love spell was cast when my husband drove in, I was so surprised when he said to me that he was sorry that he left me and would want us to come as husband and wife. "Guess What" YES I accepted, because i so much love him and would want to live the rest of my life happy with him. I’m so happy now and I would say all thanks to the great Dr Henry for his love spells he used to restore my marriage. I’LL recommend Dr Henry’s love spell to anyone who is greatly in need of solutions to relationship and marital problem to contact
    emaiL: permanentspellcast@yahoo.com
    WhatsApp: +2348100663964.
    website: https://permanentspellcaster.wordpress.com

    ReplyDelete