Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Intensity Of RGB image

Subject: Intensity Of RGB image

From: Enigma Enlist

Date: 16 Nov, 2010 18:38:04

Message: 1 of 3

i have made two separate programs for day and night scenerios, now i want intensity information of this RGB image to switch to these programs. which command can help me?

Subject: Intensity Of RGB image

From: Sean de

Date: 16 Nov, 2010 18:49:05

Message: 2 of 3

"Enigma Enlist" <dynamic-lass@hotmail.com> wrote in message <ibuj2c$clp$1@fred.mathworks.com>...
> i have made two separate programs for day and night scenerios, now i want intensity information of this RGB image to switch to these programs. which command can help me?

if
elseif
else
end

%or

switch
case
case
end

Subject: Intensity Of RGB image

From: ImageAnalyst

Date: 16 Nov, 2010 23:07:06

Message: 3 of 3

Enigma Enlist:
I don't know - it's an enigma to me.
I'm not sure what you're asking. Do you need to convert your RGB
image to HSV (with rgb2hsv() or maybe rgb2gray()), and then check the
V intensity value (via an if statement) to determine if you need to
run mfile1 or mfile2?

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us