2017-10-11 118 views
0

我使用graphics_toolkit('gnuplot')進行八度。八度顯示低亮度圖像

這裏是原始圖像: enter image description here

然而,當我使用imshow,圖像看起來更暗: image = imread('Lenna.png') imshow(image)

imshow Image here

灰色版本運行良好: pkg load image gray = rgb2gray(image) imshow(gray)

gray image

我該怎麼辦才能修復imshow問題?

+1

我無法重現您的錯誤。使用'gnuplot'圖形包,下載原始圖像,在Octave中讀取並顯示相同的圖像,而不會降低照度。我也使用Octave 4.0.0。 – rayryeng

+0

我使用的是Arch Linux,所有軟件包都是從'pacman'安裝的。我正在使用Octave 4.2.1 – pexea12

回答

0

我通過改變圖形工具包qt解決我的問題:

graphics_toolkit('qt') 

而且你應該使用octaveoctave --no-gui代替octave-cli因爲octave-cli不鏈接到qt