Skip to content

Commit

Permalink
MAJOR: drop TissueCyte support and re-factor.
Browse files Browse the repository at this point in the history
  • Loading branch information
raacampbell committed May 12, 2020
1 parent 0bcbcb4 commit 214a21e
Show file tree
Hide file tree
Showing 36 changed files with 359 additions and 1,349 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

# StitchIt

*StitchIt* is a MATLAB package that was originally built for stitching data from the TissueVision 2-photon tomography system.
However, *StitchIt* is sufficiently modular that it can handle other tiled data sets too (e.g. from a slide scanner or tiled images obtained from *in vivo* experiments using [ScanImage](http://scanimage.vidriotechnologies.com/)).
*StitchIt* is a MATLAB package for stitching data acquired via our [ScanImage](http://scanimage.vidriotechnologies.com/))-based acquisition system (BakingTray).
To get started, please read the [Wiki](https://github.com/BaselLaserMouse/StitchIt/wiki).
There is a [changelog](https://raw.githubusercontent.com/BaselLaserMouse/StitchIt/master/changelog.txt).

Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
StitchIt Change Log

12/03/2020
- DEVELOPER MAJOR: Dev branch. Drop TissueCyte support. StitchIt handles only BakingTray data now. There is a release associated with this commit. Refactor BakingTray stitching files and remove possibility of adding other stitching system systems. The flexibility isn't being used and it's worth the confusion.

20/03/2020
- USER: Downsampled stacks now contain the channel name (as a string -- "red" or "green") in the file name.
- USER: stitchedPlanesToVolume produces stacks that contain the channel name the file name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,17 @@
%
% Outputs
% systemType - a string defining the name of the acquisition system used.
% Currently returns one of 'TissueCyte' or 'BakingTray'
% Currently only 'BakingTray' or nothing, to indicate that no file was found.
%
%
%
%


%Assign particular file names found in the experiment path to sub-directories in the SystemSpecifc directory
if ~isempty(dir('Mosaic_*.txt'))
systemType='TissueCyte';
elseif ~isempty(dir('Recipe*.yml')) || ~isempty(dir('recipe*.yml'))
if ~isempty(dir('Recipe*.yml')) || ~isempty(dir('recipe*.yml'))
systemType='BakingTray';
else
fprintf('Can not find acquisition system log file in %s\n',pwd)
systemType=-1;
end

8 changes: 0 additions & 8 deletions code/INI/readStitchItINI.m
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,6 @@

if isnumeric(systemType) && systemType==-1 ;
INIfname=defaultINIfname; %Try reading the default INI file
elseif strcmpi(systemType,'TissueCyte')
disp('TissueCyte')
% This is really crap, but I need to read TissueCyte stuff in separately
% because we will get a recursive function call otherwise. TODO: fix this shit
% In the unlikely event we have data generated by Orchestrator
T=tissuecyte;
M=T.readMosaicMetaData(T.getTiledAcquisitionParamFile);
systemID = M.System.ID;
elseif strcmpi(systemType,'BakingTray');
% This is to populate the System.ID field from which we can get the system ID.
% The following line will only work if we are in a sample directory
Expand Down
17 changes: 0 additions & 17 deletions code/SystemClasses/@bakingtray/bakingtray.m

This file was deleted.

24 changes: 0 additions & 24 deletions code/SystemClasses/@bakingtray/channelsAvailableForStitching.m

This file was deleted.

15 changes: 0 additions & 15 deletions code/SystemClasses/@bakingtray/directoryBaseName.m

This file was deleted.

21 changes: 0 additions & 21 deletions code/SystemClasses/@bakingtray/getTiledAcquisitionParamFile.m

This file was deleted.

83 changes: 0 additions & 83 deletions code/SystemClasses/@bakingtray/readMetaData2Stitchit.m

This file was deleted.

10 changes: 0 additions & 10 deletions code/SystemClasses/@bakingtray/sectionDirName2sectionNum.m

This file was deleted.

29 changes: 0 additions & 29 deletions code/SystemClasses/@tissuecyte/channelsAvailableForStitching.m

This file was deleted.

18 changes: 0 additions & 18 deletions code/SystemClasses/@tissuecyte/directoryBaseName.m

This file was deleted.

Loading

0 comments on commit 214a21e

Please sign in to comment.