Click here to Skip to main content
15,998,673 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
what is the method to find the number of bits needed to embed the message in image if I have 512*512 8 bit grey image and this bits must satisfy 0.10 bpp 


What I have tried:

I think that 512*512*8 = 2097152 and then take 0.10 from the result bit 2097152*0.10 = 209715.2 is that correct or not
Posted
Updated 17-Apr-20 7:40am
v2
Comments
Richard MacCutchan 17-Apr-20 5:46am    
Given that that is simple mathematics, then yes it is correct.
saeed 28 17-Apr-20 12:19pm    
thank you for your answer. I asked as a method used (not as a math is correct or not) because I did not find a source explaining that
Richard MacCutchan 17-Apr-20 12:36pm    
You have tagged your question with four different languages so no one is likely to provide code, since they do not know which one you actually mean. And your question merely asks if your calculation is correct.

If you want a proper answer, then please edit your post and ask a proper specific question.

1 solution

Quote:
is that correct or not

Yes.

I take it maths is not your strong suite?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900