problem in the image when taking as input to matlab code.

Status
Not open for further replies.

Jayk

Junior Member level 1
Joined
Dec 18, 2011
Messages
16
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Rajkot,India
Visit site
Activity points
1,426
clc;
close all;
clear all;
obj = videoinput('winvideo', 1);
set(obj, 'SelectedSourceName', 'input1');
src_obj = getselectedsource(obj);
get(src_obj);
preview(obj);
frame = getsnapshot(obj);
image(frame);
delete(obj);
this is my code for taking simple image....but dont know image are not obtain proper.....i have attached the type of image....i am working on this for two days....can any one give solution what is the problem.....i dont find problem in code....is it some setting i have to do
 
Last edited:

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…