Image processing-CCS 3.1-c6713 dsk
이전 댓글 표시
hi all, With the help of matlab we are storing the pixel values of an particular image. by the same way, how one can generate pixel value using c language. i have tried, but iam unable to get the corresponding values, my code for your reference,
FILE *fp, *f1;
float x[1024][1024];
fp=fopen('image.bmp','r+');
f1=fopen('data.dat','w+');
for(i=0;i<=64;i++)
{
for(i=0;i<=64;i++)
{
fprintf(f1,"%f",x[i][j]);
}
}
but, i am unable to see my image. im working on CCS 3.1. could somebody please help me. suggestions will be greatful.
regards, chinny
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!