WordPress database error: [Table './ay6u3nor6dat6ba1/kn6_ayu1n9k4_5_actionscheduler_actions' is marked as crashed and last (automatic?) repair failed]
SELECT a.action_id FROM kn6_ayu1n9k4_5_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.status IN ('in-progress') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

WordPress database error: [Table './ay6u3nor6dat6ba1/kn6_ayu1n9k4_5_actionscheduler_actions' is marked as crashed and last (automatic?) repair failed]
SELECT a.action_id FROM kn6_ayu1n9k4_5_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.status IN ('pending') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

Extracting Color channels in images | Loop and Break

Extracting Color channels in images

Color images are made of RGB color combination, below matlab code extracts all these individual channels.

>> A = imread('DesertSmall.jpg'); % reading Image
>> ARed = A(:,:,1); % extracting RED Channel
>> AGreen = A(:,:,2); % extracting GREEN Channel
>> ABlue = A(:,:,3); % extracting BLUE Channel
>> %-----------START PLOTTING---------
>> subplot(2,2,1); imshow(A); axis image;
>> subplot(2,2,2); imshow(ARed); title('red');
>> subplot(2,2,3); imshow(AGreen); title('green');
>> subplot(2,2,4); imshow(ABlue); title('blue');

Output :

Share

You may also like...