user15596049
user15596049

Reputation:

Displaying 2 images with 2 windows using octave

I want to display the images with the independent windows.

The below code doesn't satisfy the requirement.

green = imread("green.bmp");

blue = imread("blue.bmp");

imshow(green);

pause(10);

imshow(blue);

pause(10);

Is it able to do that?

Upvotes: 1

Views: 631

Answers (1)

user15596049
user15596049

Reputation:

Add figure to achieve it.

green = imread("green.bmp");

blue = imread("blue.bmp");

imshow(green);

figure();

imshow(blue);

pause(10);

Upvotes: 3

Related Questions