Take a picture, edit it, then you can save it.
interestingly, your code does not seem to detect my camera , even though i seem my option listed on your GUI, but i am unable to take a picture or continue with it.
nice GUI. I learnt a lot from this and now can make my own GUIs
Thank you Anon, for your reply. Now my code is a bit shorter and I've learnt something new about MATLAB. If anyone else can spot any mistakes or errors, please tell me because it helps me learn more
This is quite cumbersome:
You could just write
img = 255-img;
So can anyone tell me whether this code worked on their computer or not?
I mean "you can press the 'Take your picture' button again to take another picture."
Sorry Ganesh, but I don't understand your question. Do you mean you want live inversion? Or do you mean that you would like to take a 'trial picture' before inverting, in which case you can press the 'invert button' again to take another picture
Hi, This is Ganesh http://in.linkedin.com/pub/ganesh-prabhakar-p/24/942/b2
I tested this function,it is working fine with my web camera.
but the problem is there is no preview in the axes1 before taking picture..
is thr any fuction regarding that.. plz help me..
Added new features and fixed bugs
added the 'save button', 'display same picture' button, and 'open in Image Viewer' button. Also edited in accordance to Anon
added 'imaqreset' so that the detection of cameras would be more accurate and added the 'grayscale' buton
made the two static texts in 'modal question' so that it looks connected
fixed the error ??? Reference to non-existent field 'rgb'.
fixed the errors
I made the modal question a bit shorter
Inspired by: YUY2 to RGB converter