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

22 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
  13. ATTENTION ATTENTION ATTENTION
    Do you need Urgent loan? We give out loan to interested individuals who are seeking loan with good faith and with the interest rate of 3%. Are you seriously in need of an urgent loan? then you are at the right place. We give out business loan, personal loan, Xmas loan, and so on. Contact us for your loan request to meet your demand and set free from financial problem. contact us today via email: barclaysfinancialgroupfirm@gmail.com
    Thanks as we await your urgent response.
    Barclays Financial Group Company.

    ReplyDelete
  14. Hello i am Mrs Peculiar Martins
    Actually i really got his email from my friend Candy she live in Canada she was the one who introduce this very doctor to me, she told me how Dr Omozojie help her to cure her herpes virus, that i should contact him on his direct email which is dromozojieherbalhome@gmail.com,or call him or add him on whatsapp +2347050577265 i have not really met him face to face because i don't live close to where he live, he is from Nigeria he said he lived in Ijubuode.
    Actually i only took the herbal medicine for only two weeks then i went to the hospital for check up then i was found Negative .
    He prepare me the herbal medicine, bathing soap, and body cream he said once i take the herbal medicine that all the herpes in my body system will show up that i should use the soap and cream to clear it, and that was exactly what i did then my skin became perfectly fine.

    ReplyDelete
  15. My purpose out here today is to share this article to the world about how Doctor Agumagu helped me in getting back my EX-girlfriend that broke up with me 4 months ago. I tried all i can to make her see reasons with me so that we can continue our relationship but she denied me. Thank God for giving me the thought of going into the internet for help, i searched properly and i saw different reviews of Doctor Agumagu and i insisted in giving it a try by contacting him via what's app on +2348158847627. He gave me reason to live again and he prepared a spell and told me that my Ex-girlfriend will come back to me within 24 hours. Can you believe it, my EX-girlfriend came back to me and our wedding will hold Soon. Contact him now!!! if you need any help. Email: agumaguspelltemple@outlook.com or agumaguspelltemple@gmail.com and he does a lot of spells such as
    Herpes Cure
    ALS Cure
    Hiv Cure
    Love Spell
    Death Spell
    Money Spell
    Power Spell
    Success Spell
    Sickness Spell
    Pregnancy Spell
    Marriage Spell
    Job Spell
    Protection Spell
    Court Case Spell
    Luck Spell etc

    If you wish to contact me personally here is my email thibautlouis11@gmail.com

    ReplyDelete
  16. Share"I've had herpes for 8 years now. When I was diagnosed, my doctor insisted that I go on viral suppressants, but I was scared of the long term damage they could have on my system and only took them a couple of times during really bad out breaks.My boyfriend has been with me for ten years but somehow he has never had a visible outbreak, yet for the last two years I'd get an out break at least every second month if not more. I found that even sex with a condom or shaving could trigger an outbreak. Anyhow, I did some research on line and the best reviews were about Quick Clear and someone say Dr.Sandy do cure some illness like HERPES, HPV, ALS, BLOOD PROPBALM SEY.so I thought I'd give it a try and bought the spray and a six month supply. So far I've been on the pills for almost four months and the herbal medicine seem to be working. When I have any inkling of discomfort, I use the spray as well and all ends up append. I've been really stressed from lack of sleep and holidays so for the first time in a month feel like I may have an outbreak, but it seems Dr.Sandy herbal medicine milder than in the past and the spray greatly relieves me. I truly believe this Dr.Sandy herbal medicine will pass much quicker. I ordered one more bottle of capsules and spray just to be on the safe side. I'm going to take them for a little longer than the 14days suggested for my case just to be on the safe side and be cured. I highly recommend this product and if they don't get rid of herpes completely i ask ask you all to go for Dr.Sandy herbal medicine because he did cure me and my boyfriend and some friends i know, they sure as herbal work better than the Valtrex pills but Dr.Sandy cure me from this! plz friends add and Share this amazing herbal cure contact his email address. dr.sandyspelltemple@gmail.com
    dr.sandyspelltemple@hotmail.com
    dr.sandyspelltemple@yahoo.com OR
    call Whats App Number +2349031726182
    or facebook posg https://www.facebook.com/Drsandy-SPELL-HOME-2-226270587825982/
    Dr.Sandy Good luck everyone...I'll write a conclusion and Share this amazing fully completed in the third bottle comments."..

    ReplyDelete
  17. Share"I've had herpes for 8 years now. When I was diagnosed, my doctor insisted that I go on viral suppressants, but I was scared of the long term damage they could have on my system and only took them a couple of times during really bad out breaks.My boyfriend has been with me for ten years but somehow he has never had a visible outbreak, yet for the last two years I'd get an out break at least every second month if not more. I found that even sex with a condom or shaving could trigger an outbreak. Anyhow, I did some research on line and the best reviews were about Quick Clear and someone say Dr.Sandy do cure some illness like HERPES, HPV, ALS, BLOOD PROPBALM SEY.so I thought I'd give it a try and bought the spray and a six month supply. So far I've been on the pills for almost four months and the herbal medicine seem to be working. When I have any inkling of discomfort, I use the spray as well and all ends up append. I've been really stressed from lack of sleep and holidays so for the first time in a month feel like I may have an outbreak, but it seems Dr.Sandy herbal medicine milder than in the past and the spray greatly relieves me. I truly believe this Dr.Sandy herbal medicine will pass much quicker. I ordered one more bottle of capsules and spray just to be on the safe side. I'm going to take them for a little longer than the 14days suggested for my case just to be on the safe side and be cured. I highly recommend this product and if they don't get rid of herpes completely i ask ask you all to go for Dr.Sandy herbal medicine because he did cure me and my boyfriend and some friends i know, they sure as herbal work better than the Valtrex pills but Dr.Sandy cure me from this! plz friends add and Share this amazing herbal cure contact his email address. dr.sandyspelltemple@gmail.com
    dr.sandyspelltemple@hotmail.com
    dr.sandyspelltemple@yahoo.com OR
    call Whats App Number +2349031726182
    or facebook posg https://www.facebook.com/Drsandy-SPELL-HOME-2-226270587825982/
    Dr.Sandy Good luck everyone...I'll write a conclusion and Share this amazing fully completed in the third bottle comments."..

    ReplyDelete
  18. Share"I've had herpes for 8 years now. When I was diagnosed, my doctor insisted that I go on viral suppressants, but I was scared of the long term damage they could have on my system and only took them a couple of times during really bad out breaks.My boyfriend has been with me for ten years but somehow he has never had a visible outbreak, yet for the last two years I'd get an out break at least every second month if not more. I found that even sex with a condom or shaving could trigger an outbreak. Anyhow, I did some research on line and the best reviews were about Quick Clear and someone say Dr.Sandy do cure some illness like HERPES, HPV, ALS, BLOOD PROPBALM SEY.so I thought I'd give it a try and bought the spray and a six month supply. So far I've been on the pills for almost four months and the herbal medicine seem to be working. When I have any inkling of discomfort, I use the spray as well and all ends up append. I've been really stressed from lack of sleep and holidays so for the first time in a month feel like I may have an outbreak, but it seems Dr.Sandy herbal medicine milder than in the past and the spray greatly relieves me. I truly believe this Dr.Sandy herbal medicine will pass much quicker. I ordered one more bottle of capsules and spray just to be on the safe side. I'm going to take them for a little longer than the 14days suggested for my case just to be on the safe side and be cured. I highly recommend this product and if they don't get rid of herpes completely i ask ask you all to go for Dr.Sandy herbal medicine because he did cure me and my boyfriend and some friends i know, they sure as herbal work better than the Valtrex pills but Dr.Sandy cure me from this! plz friends add and Share this amazing herbal cure contact his email address. dr.sandyspelltemple@gmail.com
    dr.sandyspelltemple@hotmail.com
    dr.sandyspelltemple@yahoo.com OR
    call Whats App Number +2349031726182
    or facebook posg https://www.facebook.com/Drsandy-SPELL-HOME-2-226270587825982/
    Dr.Sandy Good luck everyone...I'll write a conclusion and Share this amazing fully completed in the third bottle comments."..

    ReplyDelete
  19. We are authorized Financial consulting firm that work directly with
    A rated banks eg Lloyds Bank,Barclays Bank,hsbc bank etc

    We provide BG, SBLC, LC, LOAN and lots more for client all over the world.

    Equally,we are ready to work with Brokers and financial
    consultants/consulting firms in their respective countries.

    We are equally ready to pay commission to those Brokers and financial
    consultants/consulting firms.

    Awaiting a favourable response from you.

    Best regards
    WALSH SMITH, ROBERT
    email : info.iqfinanceplc@gmail.com
    skype: cpt_young1
    Tel contact: +447031968934

    ReplyDelete
  20. THIS IS MY LIFE HISTORY HOW I WAS CURED FROM HERPES BY A GREAT MAN CALLED DR LUCKY,

    am a very honest woman ,i can never post false testimony on social media, so let me go straight to the point Hello Everyone out there,I am here to give my testimony about a Herbalist doctor called Dr Lucky who helped me in my life. I was infected with HERPES SIMPLEX VIRUS in 2015, i went to many hospitals for cure but there was no solution, so I was thinking how can I get a solution out so that my body can be okay. One day I was in the river side thinking where I can go to get solution. so a lady walked to me telling me why am I so sad and i open up all to her telling her my problem, she told me that she can help me out, she introduce me to a doctor who uses herbal medication to cure HERPES SIMPLEX VIRUS and gave me his email, so i mail him. He told me all the things I need to do and also give me instructions to take, which I followed properly. Before I knew what is happening after two weeks the HERPES SIMPLEX VIRUS that was in my body got vanished .if you need help, you can also email him at: (Realspellcasteronline@gmail com) or (Realspellcasteronline@gmail com) He also have a herbal cure for 6 DISEASES; also for HIV VIRUS AND MANY MORE, for more information (Realspellcasteronline@gmail com) i will like you all to help me thank Dr Lucky for saving my life so i make up my made to testify about his good work,i have nave see a good man like this before and beware of scams only Dr Lucky has the cure for herpes illness no fake no scam I Love You Dr Lucky Thanks So Much

    ReplyDelete