Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
Fix rebase issues between all three branches
Browse files Browse the repository at this point in the history
  • Loading branch information
kdm9 committed Jun 30, 2014
1 parent 7aea9f2 commit 067b307
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
1 change: 0 additions & 1 deletion timestream/manipulate/pipecomponents.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,4 +422,3 @@ def __call__(self, context, *args):

def show(self):
pass

18 changes: 18 additions & 0 deletions timestream/manipulate/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,21 @@ def process(self, contArgs, initArgs, visualise = False):
def printCompList(cls):
for clKey, clVal in ImagePipeline.complist.iteritems():
print (clVal.info())

#def test():
# from timestream.parse import ts_iter_images
# settingFile = "/home/chuong/Workspace/traitcapture-bin/unwarp_rectify/data/pipeline.yml"
# imageRootPath = '/mnt/phenocam/a_data/TimeStreams/BorevitzTest/BVZ0036/BVZ0036-GC02L~fullres-orig/'
#
# img_iter = ts_iter_images(imageRootPath)
# for i in range(750):
# img_iter.next()
# currentImage = cv2.imread(img_iter.next())[:,:,::-1]
#
# ipl = ImagePipeline(settingFile)
# context = {"filePath": os.path.dirname(settingFile)}
# args = [currentImage]
# ipl.process(context, args)
#
#if __name__ == "__main__":
# test()
1 change: 0 additions & 1 deletion util/pipeline_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,4 @@
# set visualise to False to run in batch mode
context = {"rts":ts, "wts":ts_out, "img":img}
result = pl.process(context, [img])

print("Done")

0 comments on commit 067b307

Please sign in to comment.