×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    14

    Color conversion

    Hi,

    I am loading a RGB image(864x1152) in Image operation.py file available in PyNCv lib. Chose the option of Image color conversion -> Egray 256. The output image is just a white screen. The conversion of RGB to Gray(256) doesn't take place.What might be the reason. I didn't change the code.Initially I thought there is some problem with the code or its taking time to show the output...but its not the case as other operations of same code work and output comes...What might be the problem ?

    Thanks

  2. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,796

    Re: Color conversion

    Quote Originally Posted by rangaravind View Post
    Hi,

    I am loading a RGB image(864x1152) in Image operation.py file available in PyNCv lib. Chose the option of Image color conversion -> Egray 256. The output image is just a white screen. The conversion of RGB to Gray(256) doesn't take place.What might be the reason. I didn't change the code.Initially I thought there is some problem with the code or its taking time to show the output...but its not the case as other operations of same code work and output comes...What might be the problem ?

    Thanks
    You need to enter 4-EGray256 instead of Egray 256.
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Registered User
    Join Date
    Jul 2009
    Posts
    14

    Re: Color conversion

    I selected 4th option only. 4-Egray256...it is a user friendly appln.-Imageopeartion.py available in PyNCV lib. I loaded the image RGB image(864x1152)jpeg... then did the color conversion and choose 4th option..It is showing white screen...I had a doubt whether its not displaying properly..so I saved the image by editing the code. Still the image saved is white screen
    I dont know what is the problem.

    Thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×