I think, you cann't convert the grayscale image to RGB. because gray image is probably represented in 8 bits but RGB is a triplet of 3 8-bit values. But you can convert the shades of e.g. gray to shades of green(chon dar tasvire khakestari etelaate mehvarhaye R G B vojood nadare, pas tanha mishe dar tasvir sayeye blue ya red ya green andakht)
age
tedad zavie haie ke FT migirid kam bashe tasviri ham ke bedast miad vazeh nis.in
sitobebinid, mesale shatranje daghighan in matlabo tozih dade
http://www.cogs.sus***.ac.uk/courses/acv/matlab_demos/fft_image_demo.html
dar zemn bebakhshid, man keyboarde farsi nadaram
I think, you cann't convert the grayscale image to RGB. because gray image is probably represented in 8 bits but RGB is a triplet of 3 8-bit values. But you can convert the shades of e.g. gray to shades of green(chon dar tasvire khakestari etelaate mehvarhaye R G B vojood nadare, pas tanha mishe dar tasvir sayeye blue ya red ya green andakht)
ممنون از لطفت
ولی مثل اینکه میشه از تصویر خاکستری سه تا جداگانه تبدیل فوریه گرفت و به هر تصویر یه رنگ اختصاص بدیم ( به یکی R به یکی G و به یکی هم B ) و بعد 3 تصویر رو ترکیب کرد و در آخر هم فوریه معکوس میگیریم
به این صورت تصویر خاکستری به تصویر RGB تبدیل میشه
فقط با متلب نمیدونم چه طور میشه اینکار رو انجام داد
دوست عزیز لینک هایی که قرار دادی باز نمیشن
میشه یه تست کنی دوباره بذاریشون
خیلی ممنونم ازت
ممنون از لطفت
ولی مثل اینکه میشه از تصویر خاکستری سه تا جداگانه تبدیل فوریه گرفت و به هر تصویر یه رنگ اختصاص بدیم ( به یکی R به یکی G و به یکی هم B ) و بعد 3 تصویر رو ترکیب کرد و در آخر هم فوریه معکوس میگیریم
به این صورت تصویر خاکستری به تصویر RGB تبدیل میشه
فقط با متلب نمیدونم چه طور میشه اینکار رو انجام داد
دوست عزیز لینک هایی که قرار دادی باز نمیشن
میشه یه تست کنی دوباره بذاریشون
خیلی ممنونم ازت
An image is consisted of 2 parts: intensity (grayscale part) and color components(Hue and saturation) representing in 3 matrixes. So, when you convert an RGB image to a grayscale image there will be a loss of information and I am not sure how to recover the lost information and if it is possible or not
An image is consisted of 2 parts: intensity (grayscale part) and color components(Hue and saturation) representing in 3 matrixes. So, when you convert an RGB image to a grayscale image there will be a loss of information and I am not sure how to recover the lost information and if it is possible or not
تا اونجاییکه میدونم میشه این کار رو انجام داد ، یعنی پارامتر سوم ( RGB ) رو از ماترس تصویر حذف کرد و تصویر خاکستری شه
فقط نمیدونم چطوری میشه
تو قسمت Help هم چیزی دستگیرم نشد
تا اونجاییکه میدونم میشه این کار رو انجام داد ، یعنی پارامتر سوم ( RGB ) رو از ماترس تصویر حذف کرد و تصویر خاکستری شه
فقط نمیدونم چطوری میشه
تو قسمت Help هم چیزی دستگیرم نشد