[CENTER][SIZE=“4”][FONT=“Times New Roman”][COLOR=“Purple”][B]السلام عليكم
ما أعرفه هو أن كل صوره ملونه ينتج عنها ثلاث مصفوفات: R & G & B
ونستخرجها بالأوامر:
( 1 , : , : ) X للون الأحمر
( 2 , : , : ) X للون الأخضر
( 3 , : , : ) X للون الأزرق
طيب لوكانت الصوره رماديه كيف نستطيع أن نستخرج منها المصفوفات الأخرى؟ولو كانت أبيض وأسود كيف نستطيع عمل ذلك أيضاً؟
(أكيد راح يطلع من المصفوفه الأبيض والأسود مصفوفتين: واحده للون الأبيض والأخرى للأسود)
لكن ماهي الأوامر التي تستخرج ذلك بالضبط؟؟
جزاكم الله خيراً[/b][/color][/font][/size][/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