How to modify the header
How to modify the header
All programs that process multiple cells (vials, dishes or flies) per image contain a section that looks like this. Each pair of $Xoffset_hash(n) and $Yoffset_hash(n) identify the position of a cell. You only need to determine the position in one cell.
See How to identify the position of cells
#----------------------------
#INSERT_COORDINATES_HERE
$Xoffset_hash{0}=50;$Yoffset_hash{0}=115;
$Xoffset_hash{1}=367;$Yoffset_hash{1}=113;
#how many cells are in photograph?
my $total_number_of_cells=2;
#dimensions of each cell
my $dimensions="315x280";
#Do not move or alter the following line. The program transfer parameters depends on it.
#END_COORDINATES
#----------------------------
For some applications, you may have a very extensive list of coordinates as shown below.
#----------------------------
#INSERT_COORDINATES_HERE
#exp
$Xoffset_hash{0}=389;$Yoffset_hash{0}=236;
$Xoffset_hash{1}=279;$Yoffset_hash{1}=276;
$Xoffset_hash{2}=435;$Yoffset_hash{2}=346;
$Xoffset_hash{3}=191;$Yoffset_hash{3}=367;
$Xoffset_hash{4}=271;$Yoffset_hash{4}=364;
$Xoffset_hash{5}=326;$Yoffset_hash{5}=411;
$Xoffset_hash{6}=212;$Yoffset_hash{6}=438;
$Xoffset_hash{7}=453;$Yoffset_hash{7}=494;
$Xoffset_hash{8}=246;$Yoffset_hash{8}=528;
$Xoffset_hash{9}=315;$Yoffset_hash{9}=577;
$Xoffset_hash{10}=94;$Yoffset_hash{10}=650;
#cntrl
$Xoffset_hash{11}=174;$Yoffset_hash{11}=1024;
$Xoffset_hash{12}=195;$Yoffset_hash{12}=1081;
$Xoffset_hash{13}=340;$Yoffset_hash{13}=1121;
$Xoffset_hash{14}=335;$Yoffset_hash{14}=1171;
$Xoffset_hash{15}=439;$Yoffset_hash{15}=1189;
$Xoffset_hash{16}=320;$Yoffset_hash{16}=1201;
$Xoffset_hash{17}=442;$Yoffset_hash{17}=1243;
$Xoffset_hash{18}=266;$Yoffset_hash{18}=1235;
$Xoffset_hash{19}=176;$Yoffset_hash{19}=1264;
$Xoffset_hash{20}=393;$Yoffset_hash{20}=1302;
$Xoffset_hash{21}=252;$Yoffset_hash{21}=1328;
$Xoffset_hash{22}=305;$Yoffset_hash{22}=1380;
$Xoffset_hash{23}=386;$Yoffset_hash{23}=1370;
$Xoffset_hash{24}=470;$Yoffset_hash{24}=1460;
$Xoffset_hash{25}=322;$Yoffset_hash{25}=1493;
#how many cells are in photograph?
my $total_number_of_cells=10;
#change this variable if you are analyzing only a portion of the cells
my $cell_start=0;
#set this to 0 to skip the initial image modifications (grayscale and depth)
my $process=1;
##dimensions of each cell
my $dimensions="15x15";
#END_COORDINATES
#----------------------------