Hi does anyone know how to insert commas in array? example: 2,3 3,3 4,2 I need to show these commas when I execute the program. Pls advice.
User 1990498
Posts
-
How to insert a "," in an array? -
Does anyone know RLC(Run length Coding)Link it so that when I click the menu button which I name it as RLC a dialog box will pop up and I am able to choose the RAW file to be compress using RLC. Thks.
-
Does anyone know RLC(Run length Coding)Hi, is anyone familiar with RLC? Is it possible to write a prog to compress RAW file using RLC then link it up with a mainframe menu button? Pls help!!
-
What is a 'byte'?Ok, thank you for the info. Perhaps I will go and read up and find out my problem then I will consult help again.Thanks.
-
What is a 'byte'?Does that means I am actually shrinking the size of the data?
-
What is a 'byte'?Ok. Thanks. Is it possible to compress 8bits into a byte using RLC( Run-Length Coding)?
-
What is a 'byte'?Hi, can someone tell me what is a byte? how many bits does 1 byte equals to?
-
Need help in RLC(Run-Length Coding)!!!Hi, does anyone know how to use RLC? Can xplain how it is use? Can it be use to compress a DICOM image into a smaller file size? The purpose of reducing the size is to save space. Can it be done? Please help. Thank you.
-
Does anyone know RLC?Hi, does anyone know how to use RLC? Can xplain how it is use? Can it be use to compress a DICOM image into a smaller file size? The purpose of reducing the size is to save space. Can it be done? Please help. Thank you.
-
Help!!! What does this program do?Can you advice on a better way to write this program?thks.
-
Help!!! What does this program do?Hi, can anyone explain what does the program below do in MFC C++. void CMediVisionView::OnFileSaveasraw() { // TODO: Add your command handler code here// FILE *raw; int n; unsigned short sdata; static char BASED_CODE szFilter[] = "DICOM Files (*.txt)|*.txt|All Files(*.*)|*.*||"; CFileDialog dlg_save_as(FALSE, "dcm", NULL, OFN_OVERWRITEPROMPT | OFN_HIDEREADONLY, szFilter); if(dlg_save_as.DoModal() == IDOK) { raw = fopen("test.raw","a+b"); for (n=0; n
-
How do i view the pixel value of a raw DICOM image of 256x256?PLs help!!What if I save the DICOM image as a text file? Will I be able to convert the text file to binary? If so how should I go about writing the program? Can debugging help?Or perhaps using the basic "printf" function to display teh pixels values if I know where the values are store. PLease advise.Thks.
-
How do i view the pixel value of a raw DICOM image of 256x256?PLs help!!Sorry i don't get what you mean by voted this as 2.0.Anyway i hope you are able to help.Thanks.
-
How do i view the pixel value of a raw DICOM image of 256x256?PLs help!!Actually RAW format is still the DICOM image which i open up to view using Adobe Photoshop. The only difference is all the headers has benn remove what i am left with is just the image itself. My problem now is how do i view the pixel values from Photoshop? The image is in the grey.Does MATLAB be of any help?
-
How do i view the pixel value of a raw DICOM image of 256x256?PLs help!!I have manage to convert a DICOM image into a raw image..that is to say without its header.Now how can i view the pixel value of this raw image in binary form?
-
How to compress DICOM image to raw file format?Hi, does that means the whole program should be using DIB instead of MFC C++? The part on converting DICOM to raw format?
-
MFC version used ?Hi everyone, does anyone here know how to compress DICOM image to raw format and save image file into a binary file format as a 1 dimensional array. Mine is a 256x256 image. Can help me write a program to display the pixel value of black and white when i run the program.
-
How to compress DICOM image to raw file format?This is how the program looks like. I need to write in that part of the program to display the black and white pixels when I run the program. I think this is where the pixels are stored. Please advise. Thank you. void CMediVisionView::ReDraw() { int row, col; int p, q, n; int cx_position[6], cy_position[6]; unsigned int data; BITMAPINFOHEADER infoHeader; infoHeader.biSize = sizeof(BITMAPINFOHEADER); infoHeader.biWidth = n_cols; infoHeader.biHeight = n_rows; infoHeader.biPlanes=1; infoHeader.biBitCount= 24; infoHeader.biCompression=0; infoHeader.biSizeImage=0; infoHeader.biXPelsPerMeter=0; infoHeader.biYPelsPerMeter=0; infoHeader.biClrUsed=0; infoHeader.biClrImportant=0; int xSize=::GetSystemMetrics(SM_CXSCREEN)-80; int ySize=::GetSystemMetrics(SM_CYSCREEN); CClientDC ClientDC(this); // Draw the Frame Lines first FrameLines(&ClientDC); if (n_rows== 256 && multiple_open) { if(image_no == 1) { cx_position[1] = posx512-4; cy_position[1] = posy512; } else if(image_no == 2) { cx_position[1] = posx512-4; cy_position[1] = posy512; cx_position[2] = posx512-4 + 256 + 3; cy_position[2] = posy512; } else if(image_no == 3) { cx_position[1] = posx512-4; cy_position[1] = posy512; cx_position[2] = posx512-4 + 256 + 3; cy_position[2] = posy512; cx_position[3] = posx512-4; cy_position[3] = posy512 + 256 + 3; } else if(image_no == 4) { cx_position[1] = posx512-4; cy_position[1] = posy512; cx_position[2] = posx512-4 + 256 + 3; cy_position[2] = posy512; cx_position[3] = posx512-4; cy_position[3] = posy512 + 256 + 3; cx_position[4] = posx512-4 + 256 + 3; cy_position[4] = posy512 + 256 + 3; } for(int s=1;s<=image_no;s++) { n = 0; for(int p=0;p
-
How to compress DICOM image to raw file format?Ok, so how do I write a program to display the pixel values in the variable "image256[n]"? The values are stored in "image256[n]" but I don't know how to write a program to display them. Can you help?
-
How to compress DICOM image to raw file format?Hi, I am supposed to do compression to store the data and decompress the file for viewing. Do you have any idea how to do? I am supposed to open up an image of 256x256 and display the pixel values before storing them.