استفسار بسيط

[CENTER][SIZE=“4”][FONT=“Times New Roman”][COLOR=“Purple”][B]السلام عليكم
ما أعرفه هو أن كل صوره ملونه ينتج عنها ثلاث مصفوفات: R & G & B
ونستخرجها بالأوامر:
( 1 , : , : ) X للون الأحمر
( 2 , : , : ) X للون الأخضر
( 3 , : , : ) X للون الأزرق

طيب لوكانت الصوره رماديه كيف نستطيع أن نستخرج منها المصفوفات الأخرى؟ولو كانت أبيض وأسود كيف نستطيع عمل ذلك أيضاً؟
(أكيد راح يطلع من المصفوفه الأبيض والأسود مصفوفتين: واحده للون الأبيض والأخرى للأسود)
لكن ماهي الأوامر التي تستخرج ذلك بالضبط؟؟

جزاكم الله خيراً[/b][/color][/font][/size][/center]

مش كل اللي مكتوب صحيح
سوف اشرح الموضوع لاحقا

[CENTER]

أرجو أن تشرح لي ولو بشكل مبسط
لأني محتاجة الرد ضروري

يعطيك العافيه[/center]

[LEFT]Binary Images
In a binary image, each pixel assumes one of only two discrete values:
1 or 0. A binary image is stored as a logical array.

A grayscale image (also called gray-scale, gray scale, or gray-level)
is a data matrix whose values represent intensities
within some range. MATLAB stores a grayscale image as a individual matrix,
with each element of the matrix corresponding to one image pixel.

A truecolor image is an image in which each pixel is specified by three
values — one each for the red, blue, and green components of the pixel’s
color. MATLAB store truecolor images as an m-by-n-by-3
data array that defines red, green, and blue color components for each individual
pixel. Truecolor images do not use a colormap. The color of each pixel is
determined by the combination of the red, green, and blue intensities stored
in each color plane at the pixel’s locatio

SEE MATLAB HELP[/left]

for more

see

image processing toolbox

in MATLAB HELP

في الصوره الرماديه يكون عندك مصفوفه واحده من 0 الى 255
اي ان كلpixel تاخذ قيمه واحده من(0 الى 255) اي تتعامل مع الصوره على هذا الاساس

اختكم ايه

[CENTER][SIZE=“4”][COLOR=“DarkOrchid”][B][FONT=“Times New Roman”]المهندس سعود

أشكرك جزيل الشكر
ويعطيك ألف عافيه

عزيزتي آيه
أشكرك على توضيحك
لك مني جزيل الشكر

[/font][/b][/color][/size][/center]

حياك الله اختي
نحن هنا لخدمتكم ما استطعنا