[Motmot] Fview color question
Andrew Straw
astraw at caltech.edu
Tue Jun 15 01:56:16 UTC 2010
Hi james, can you copy exactly the color coding string and email it? In general, fview records in color just fine, just the display doesn't (yet) show color.
- Andrew
----- Original message -----
> We need to record video of ant colonies in FView that will be used for
> two things, 1) Ctrax tracking, and 2) 'manual' frame by frame
> behavioral observations. That second project requires that the ants
> be individually marked with color dots -- so we need to record color
> video.
>
> We're using a PtGrey Flea2 and Ubuntu 10.04 and all the latest
> releases. When initializing the camera and choosing a ...MONO8 video
> mode, it works, but this is grayscale. We get the following error
> message when trying to initialize the camera using any RGB video mode:
>
> Error opening camera
> mega backend error (/build/buildd/libcamiface - 0.5.8/src/
> cam_iface_mega.c 305): /build/buildd/libcamiface-0.5.8/src/
> cam_iface_dc1394.c (1118): Currently unsupported color coding
>
> Here is the fview.log:
>
> /usr/lib/pymodules/python2.6/motmot/cam_iface/choose.py:14:
> UserWarning: only mega backend supported
> warnings.warn('only mega backend supported')
> /usr/lib/pymodules/python2.6/motmot/cam_iface/choose.py:14:
> UserWarning: only mega backend supported
> warnings.warn('only mega backend supported')
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.6/motmot/fview/fview.py", line
> 1702, in OnUpdateROIPanel
> result=self._get_lbrt()
> File "/usr/lib/pymodules/python2.6/motmot/fview/fview.py", line
> 1689, in _get_lbrt
> return self._mainthread_roi
> AttributeError: 'App' object has no attribute '_mainthread_roi'
> Exception in thread Thread-1:
> Traceback (most recent call last):
> File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
> self.run()
> File "/usr/lib/python2.6/threading.py", line 484, in run
> self.__target(*self.__args, **self.__kwargs)
> File "/usr/lib/pymodules/python2.6/motmot/fview/fview.py", line 193,
> in grab_func
> cam.start_camera()
> File
> "/usr/lib/pymodules/python2.6/motmot/cam_iface/cam_iface_ctypes.py",
> line 356, in start_camera _check_error()
> File
> "/usr/lib/pymodules/python2.6/motmot/cam_iface/cam_iface_ctypes.py",
> line 292, in _check_error raise exc_type(err_str)
> CamIFaceError: /build/buildd/libcamiface-0.5.8/src/cam_iface_dc1394.c
> (1215): libdc1394 err -1: Generic failure
>
>
> Is there any chance there is a quick fix for this? If color recording
> is not possible with this camera in FView at this time... can you
> recommend any other programs? If we absolutely had to, we could
> record grayscale video in FView for use with Ctrax and then record a
> second video in color in another program for the other
> (color-necessary) analysis... but it would be really preferable to
> have these data come from the same source video.
>
> Thanks for your help!
>
> James
>
> --
> ________________________
> School of Life Sciences
> Arizona State University
> PO Box 874601
> Tempe, AZ 85287-4601
> cell: (480) 388-0728
> http://solsgrads.asu.edu/waters
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://code.astraw.com/pipermail/motmot/attachments/20100614/69a36508/attachment.htm
More information about the Motmot
mailing list