フィルターのクリア

hii sirr in this image colorization if i exceute its showing the error that colored.image does not exist .but the images are in the folder

2 ビュー (過去 30 日間)
% test image colorization function for the following cases.
%
% By: Abdulrahman Ikram Siddiq
% Kirkuk - IRAQ
% Wednsday Nov.16th 2011 10:51 PM
close all
clear
%%%%%%%test case 1
% color_palette=imread('sat2.jpg');
% dummy=imread('sat1.jpg');
% gray_im=rgb2gray(dummy);
%%%%%%%test case 2
% color_palette=imread('sunset.jpg');
% dummy=imread('idea.jpg');
% gray_im=rgb2gray(dummy);
%%%%%%%test case 3
color_palette=imread('colored.jpg');
gray_im=imread('gray.jpg');
col_image=im_colorization(gray_im,color_palette);
imshow(color_palette) % display palette image
figure
imshow(uint8(gray_im)); % display gray image
figure
imshow(uint8(col_image)); % display colored image
  2 件のコメント
Walter Roberson
Walter Roberson 2016 年 1 月 31 日
Please show the output of
pwd
ls colored.jpg gray.jpg
and then tell us which folder the images are stored in.
DGM
DGM 2023 年 5 月 8 日
For what it's worth, those images came with the rest of the code. They're in a separate folder in the archive.
Bear in mind that im_colorization() won't work unless you also get this:
At that point, it should run, but be patient. It is quite slow.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by