Click here to Skip to main content
15,899,025 members
Home / Discussions / C#
   

C#

 
QuestionSSH Question Pin
vipix0117-Feb-06 13:46
vipix0117-Feb-06 13:46 
AnswerRe: SSH Question Pin
Robert M Greene17-Feb-06 14:18
Robert M Greene17-Feb-06 14:18 
GeneralRe: SSH Question Pin
vipix0117-Feb-06 14:23
vipix0117-Feb-06 14:23 
QuestionUsing Crystal Reports Pin
TheJudeDude17-Feb-06 12:52
TheJudeDude17-Feb-06 12:52 
Question Total Posts: 1 Member Since: Jan 30, 2006 [C#] loading .pgm file within a Bitmap object Pin
Lawx0117-Feb-06 11:35
Lawx0117-Feb-06 11:35 
AnswerRe: Pin
CiNN17-Feb-06 14:50
CiNN17-Feb-06 14:50 
GeneralRe: Pin
Lawx0117-Feb-06 15:17
Lawx0117-Feb-06 15:17 
GeneralRe: Pin
CiNN17-Feb-06 21:35
CiNN17-Feb-06 21:35 
you forgot to scale the grayvalue

# Each gray value is a number proportional to the intensity of the pixel, adjusted by the ITU-R Recommendation BT.709 gamma transfer function. (That transfer function specifies a gamma number of 2.2 and has a linear section for small intensities). A value of zero is therefore black. A value of Maxval represents CIE D65 white and the most intense value in the image and any other image to which the image might be compared.

in the exemple 15 so pixel =(int)((grayValue *255)/15);

PixelFormat should be the default Canonical

# Each gray value is represented in pure binary by either 1 or 2 bytes. If the Maxval is less than 256, it is 1 byte. Otherwise, it is 2 bytes. The most significant byte is first.

so you need to do either a readbyte or readuint16
GeneralRe: Pin
Lawx0118-Feb-06 0:46
Lawx0118-Feb-06 0:46 
Questioncannot connect to server(web service for pocket PC) Pin
Khaled Mahmoud17-Feb-06 10:58
Khaled Mahmoud17-Feb-06 10:58 
QuestionCant add a Web Reference Pin
DocH0liday17-Feb-06 10:50
DocH0liday17-Feb-06 10:50 
QuestionEquilizer Problem Pin
snouto17-Feb-06 7:30
snouto17-Feb-06 7:30 
QuestionC# to UML Pin
hg270517-Feb-06 7:15
hg270517-Feb-06 7:15 
AnswerRe: C# to UML Pin
Insincere Dave17-Feb-06 7:57
Insincere Dave17-Feb-06 7:57 
QuestionDetermining Upload Speeds In C# Pin
mcmcom17-Feb-06 6:46
mcmcom17-Feb-06 6:46 
AnswerRe: Determining Upload Speeds In C# Pin
Guffa17-Feb-06 10:02
Guffa17-Feb-06 10:02 
Questionload 3d object into form Pin
de_Oracle17-Feb-06 6:07
de_Oracle17-Feb-06 6:07 
AnswerRe: load 3d object into form Pin
Judah Gabriel Himango17-Feb-06 10:20
sponsorJudah Gabriel Himango17-Feb-06 10:20 
Question2 Simple quastions Pin
ytubis17-Feb-06 6:04
ytubis17-Feb-06 6:04 
AnswerRe: 2 Simple quastions Pin
Dave Kreskowiak17-Feb-06 10:20
mveDave Kreskowiak17-Feb-06 10:20 
Questionhow to use progressbar for long operation ? Pin
hdv21217-Feb-06 5:14
hdv21217-Feb-06 5:14 
AnswerRe: how to use progressbar for long operation ? Pin
mcmcom17-Feb-06 9:38
mcmcom17-Feb-06 9:38 
QuestionOpen File Pin
tanishq151017-Feb-06 5:14
tanishq151017-Feb-06 5:14 
AnswerRe: Open File Pin
KaptinKrunch17-Feb-06 6:07
KaptinKrunch17-Feb-06 6:07 
AnswerRe: Open File Pin
Somanova42017-Feb-06 6:38
Somanova42017-Feb-06 6:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.