you can start with any programing language but here for simplicity ,
I will start with matlab.
reading Image
image = imread ('coin.pmb');
image is stored in 'image' array either will be gray level or RGB image.
Change RGB to gray image:
to change it from RGB to gray with loosing data.
gray_image = unit8(image);
now it will be gray level , with cell values from 0 to 8. and that will make it easier to handel it in image processing data working.
figure,imshow('gray_image ');
legend ('Normal Cases' , 'Abnormal Cases');
xlabel (' X label') ;
ylabel ('Y label') ;
title (' here is title');
Show image:
you can show and add labels in the x and y directory and show title of the image by using below commands.figure,imshow('gray_image ');
legend ('Normal Cases' , 'Abnormal Cases');
xlabel (' X label') ;
ylabel ('Y label') ;
title (' here is title');
print image:
to print image after showing automatically in your work-space directory ,you can use below command.
print -dpng image.png
No comments:
Post a Comment