ImageJ
Login
Register
Search
everywhere
only in this topic
Advanced Search
Invert negative image macro
‹
Previous Topic
Next Topic
›
Classic
List
Threaded
♦
♦
Locked
3 messages
Options
Loading...
Subscribe via email
Move topic
Pin topic
Unpin topic
Lock topic
Unlock topic
Delete this topic
Delete this topic
Change title and meta tags
Embed post
Permalink
andyg2
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
More
Loading...
Reply to author
Edit post
Move post
Delete this post
Delete this post and replies
Change post date
Print post
Permalink
Raw mail
Nov 04, 2010; 11:46pm
Invert negative image macro
Is there a way to invert a binary image if the top left pixel is black - as a macro?
dscho
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
More
Loading...
Reply to author
Edit post
Move post
Delete this post
Delete this post and replies
Change post date
Print post
Permalink
Raw mail
Nov 05, 2010; 2:51pm
Re: Invert negative image macro
Hi Andy,
On Thu, 4 Nov 2010, Andy Gee wrote:
> Is there a way to invert a binary image if the top left pixel is black -
> as a macro?
Something like
if (getPixel(0, 0) == 0)
run("Invert");
should get you started.
Ciao,
Johannes
andyg2
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
More
Loading...
Reply to author
Edit post
Move post
Delete this post
Delete this post and replies
Change post date
Print post
Permalink
Raw mail
Nov 07, 2010; 4:14pm
Re: Invert negative image macro
Oh my, that was so easy! I like it a lot! Many thanks!
Free forum by Nabble
Disable Popup Ads
|
Edit this page