In report generator, an Image object can be inserted in the report in this way:
mlreportgen.dom.*
rpt = Document('my_report','pdf');
img = Image('my_image.jpg');
img.Style = {Width('5in'),HAlign('center')};
append(rpt, img);
Now, the image is already read into .mat data with:
read_img = imread('my_image.jpg');
How to create an Image object as above but from this later read_img data?
img = Image(anyway_some_function(read_img));
0 Comments
Sign in to comment.