File Exchange

image thumbnail

image effect

version 1.8 (33.3 KB) by

lets you take a picture or browse for it and put some effects on it

4.66667
3 Ratings

5 Downloads

Updated

View License

Take a picture, edit it, then you can save it.
Features include:
GrayScale
InvertColour
EdgeFinder
RGBChange
Tsukuyomi

Comments and Ratings (9)

Roxy

Roxy (view profile)

Hi,
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.

john

john (view profile)

nice GUI. I learnt a lot from this and now can make my own GUIs

123456

123456 (view profile)

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

Anon

Anon (view profile)

This is quite cumbersome:

r=img(:,:,1);
g=img(:,:,2);
b=img(:,:,3);

invr=255-r;
invg=255-g;
invb=255-b;

img(:,:,1)=invr;
img(:,:,2)=invg;
img(:,:,3)=invb;

You could just write
img = 255-img;

123456

123456 (view profile)

So can anyone tell me whether this code worked on their computer or not?

Mr Smart

123456

123456 (view profile)

I mean "you can press the 'Take your picture' button again to take another picture."

123456

123456 (view profile)

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..

Updates

1.8

Added new features and fixed bugs

1.7

added the 'save button', 'display same picture' button, and 'open in Image Viewer' button. Also edited in accordance to Anon

1.6

added 'imaqreset' so that the detection of cameras would be more accurate and added the 'grayscale' buton

1.5

made the two static texts in 'modal question' so that it looks connected

1.4

fixed the error ??? Reference to non-existent field 'rgb'.

1.2

fixed the errors

1.1

I made the modal question a bit shorter

MATLAB Release
MATLAB 7 (R14)
Acknowledgements

Inspired by: YUY2 to RGB converter

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video