-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Developed under https://github.com/snail123815/IMG_scripts
- Loading branch information
1 parent
10bfbcb
commit 2b3f3a2
Showing
10 changed files
with
1,340 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
CornerSize x y size | ||
TL 128 920 201 | ||
TR 1380 808 201 | ||
ML 1040 1856 201 | ||
MR 1860 1588 201 | ||
BL 680 2964 201 | ||
BR 1600 2828 201 | ||
|
||
CentreSize x y size | ||
|
||
WidthHeight x1 y1 Width Height | ||
|
||
# Include 'removePadding' if you need to remove certain padding | ||
# Only valid under 'WidthHeight' or 'TwoPositions' | ||
removePadding 52 376 2396 3068 | ||
|
||
TwoPositions x1 y1 x2 y2 | ||
|
||
# Polygon accepts recorded marco string from imageJ (FIJI) (eg 'makePolygon(852,588,660,1184,1288,1216);') | ||
# 'Plugins' -> 'Marcos' -> 'Record...' | ||
Polygon makePolygon(); | ||
|
||
END_POSITION # Location parse will stop here. DO NOT DELETE THIS LINE | ||
|
||
# measure in ['centreDisk', 'square', 'polygon'] | ||
# colour will be default if empty | ||
# Order will be kept in plotting | ||
# You can add any column you like, but keep 'measure' and 'colour' | ||
sampleInfo strain measure colour | ||
TL A_c centreDisk firebrick | ||
BR A_x centreDisk tomato | ||
TR A_y centreDisk lightsalmon | ||
BL B_c centreDisk darkblue | ||
MR B_x centreDisk royalblue | ||
ML B_y centreDisk lightsteelblue | ||
|
||
END_INFO # DO NOT DELETE THIS LINE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from .parseMetadata import getInfo, getPositions, getPosToCrop | ||
from .changeName import changeFileName, getScanTime, determinePrefixExtension, determineExtension | ||
from .misc import createFolders | ||
from .measureImages import measureImgs | ||
from .plotting import plotMeasured | ||
from .crop import crop |
Oops, something went wrong.