Ask Your Question
-2

How to tranform image in negative like the camera effect-negative

asked 2016-08-09 08:07:29 -0600

hterrolle gravatar image

updated 2016-08-09 08:16:35 -0600

berak gravatar image

Hi,

I want to transform the rgba image and apply a nagative-effect.

Can i do this with OpenCV ? If yes. How ?

Thanks

edit retag flag offensive close merge delete

Comments

Thanks i alraedy try it.

Core.bitwise_not(rgbaInnerWindow,rgbaInnerWindow);

but i got only a small ligne on the rigth of the image.

I tried to set another Destination Mat. But impossible to convert it after. And that crash the appli. See my previous post.

hterrolle gravatar imagehterrolle ( 2016-08-09 09:57:12 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-08-09 09:03:42 -0600

berak gravatar image

inverting is just bitwise_not

for a more general example, see here: https://github.com/opencv/opencv/blob...

edit flag offensive delete link more

Comments

There is no use of the bitwise_not on the ImageManipulationsActivity. there is one in the camera control but it is an camera.setColloEffect.

If you do not know said nothing.

hterrolle gravatar imagehterrolle ( 2016-08-09 10:02:28 -0600 )edit

o_O are you now saying that if it doesnt suit your direct needs, people should simply shut up? Seriously cv kids these days ...

StevenPuttemans gravatar imageStevenPuttemans ( 2016-08-10 07:02:01 -0600 )edit

@hterrolle: ohh, apologies from a poor serf for bothering YOUR MAJESTY("we") with some humble ideas then ;) (you're clearly superiour to anyone here, and deserve THE CROWN !)

berak gravatar imageberak ( 2016-08-10 12:57:11 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-08-09 08:07:29 -0600

Seen: 1,457 times

Last updated: Aug 09 '16