muschellij2 / neurobase

Neuroconductor Base Package
5 stars 3 forks source link

Overlay outline #5

Closed EmilyLars closed 2 years ago

EmilyLars commented 2 years ago

Not an issue, more of a question/request: Is there a way to display an overlay image as simply an outline of the image (like with a mask)? I know the color and opacity can be altered but wondered if this was also possible. Thanks!

muschellij2 commented 2 years ago

What do you mean the outline of any image? You can dilate an image by a little and then take that subtraction of the dilation from the original image to get an "outline". You can alternatively erode and image and subtract that image from the original image (one is bigger, one is smaller, depending on the intent) and then use ortho2. Can you give me some more information on what you're trying to do.

EmilyLars commented 2 years ago

No worries I figured out how to do what I need with another tool. Thanks!