Actions
Feature #3735
opencreate image mask that finds the edge of known sized hole and then mask outside of the hole at high magnification images
Status:
Assigned
Priority:
Normal
Assignee:
Carl Negro
Category:
-
Target version:
Start date:
11/04/2015
Due date:
% Done:
0%
Estimated time:
Description
None of the existing automasking uses the size of the hole. With known size, the curvature is defined. This should be very doable.
We can find edge easy enough with edge finding and a few dilation and merging. But need a simple algorithm to decide which side is inside.
Test session: 15jul20g
Image preset: non-hidden en-b
Control manual mask run: manualmask2 (/gpfs/appion/acheng/15jul20g/mask/manualrun2/masks)
Updated by Anchi Cheng about 9 years ago
code for creating a disk or ring in
/your_myami/apppion/appionlib/apCrud.py function makeDisk(radius)
change
minradsq=0
to
minradsq=radius*radius*0.9*0.9
gives you a ring from 90% or the radius to the radius.
The output is a numpy array.
Actions