Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-31 Thread Mayuresh
On Thu, Dec 31, 2020 at 10:47:02PM +0530, Mayuresh wrote: > This scenario of converting raw data to an image must be very common in > sane. Wonder if I could get some suggestions. If a python package (other > than PIL for above issue) can do it, it will be better as the driver > itself is in

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-31 Thread Mayuresh
On Sun, Dec 13, 2020 at 07:23:46PM +0530, Mayuresh wrote: > I am trying to get sane work with a digital X ray device used for > dentistry described here [1] on Linux (Ubuntu 20.04) or on NetBSD 9.1. With the help of usbmon (untruncated version courtesy [1]) and pyusb I managed to get the camera

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-17 Thread Mayuresh
On Thu, Dec 17, 2020 at 09:31:20PM -0500, m. allan noah wrote: > The device does not support twain. The device speaks a proprietary > protocol. May be besides proprietary protocol it also supports TWAIN? https://de.slideshare.net/smokeypike/the-rvg-5200-from-carestream-dental-digital Enhanced

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-17 Thread Mayuresh
On Thu, Dec 17, 2020 at 08:54:17PM -0500, m. allan noah wrote: > If the windows driver gives you some options, then you make a series > of logs each with a different combination of settings. Then compare > the logs to determine what changes. Anything that remains, you may > have to hard code. The

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-17 Thread m. allan noah
On Thu, Dec 17, 2020 at 8:11 PM Mayuresh wrote: > > On Thu, Dec 17, 2020 at 07:42:06AM -0500, m. allan noah wrote: > > I took a quick look at the protocol and did not recognize it. > > > Perhaps someone else will recognize the protocol. > > If that is not recognized, what is the way out? Just

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-17 Thread Mayuresh
On Thu, Dec 17, 2020 at 07:42:06AM -0500, m. allan noah wrote: > I took a quick look at the protocol and did not recognize it. > Perhaps someone else will recognize the protocol. If that is not recognized, what is the way out? Just play back as it is by hard coding the values? If I were to do

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-17 Thread m. allan noah
I approved both mails days ago, but the web-based download is a good idea. I took a quick look at the protocol and did not recognize it. Seems to be a few control URBs for setup, and then perhaps a string of interrupt URBs as the scanner waits for the x-ray source to fire? The image data is

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-15 Thread Steven Santos
carestream large is a Kodak (now CS Dental) specific format known as .RVG. I don't believe they can be opened outside of CS's various imaging apps. Can you see if you can export it to DICOM or TIFF or other such more standard format? On Tue, Dec 15, 2020 at 3:12 PM Mayuresh wrote: > On Tue,

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-15 Thread Mayuresh
On Tue, Dec 15, 2020 at 11:01:43PM +0530, Mayuresh wrote: > Due to size of the attachment (gzipped 750k) the message has gone to > moderator approval. FYI please. Same with a second mail wherein I have attached the images. Request the moderators to please let it reach the relevant recipients.

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-15 Thread Mayuresh
On Mon, Dec 14, 2020 at 08:12:38AM -0500, m. allan noah wrote: > usbmon is truncated, and the final image is necessary to determine top > vs bottom, left vs right, etc. So we need a wireshark and an image > from the same scan. Due to size of the attachment (gzipped 750k) the message has gone to

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-14 Thread m. allan noah
usbmon is truncated, and the final image is necessary to determine top vs bottom, left vs right, etc. So we need a wireshark and an image from the same scan. allan On Sun, Dec 13, 2020 at 9:45 PM Mayuresh wrote: > > On Sun, Dec 13, 2020 at 05:08:31PM -0500, m. allan noah wrote: > > I don't see

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-13 Thread Mayuresh
On Sun, Dec 13, 2020 at 05:08:31PM -0500, m. allan noah wrote: > I don't see anything immediately obvious in the protocol, but we > really need to see some scans. Even without the xray source we may > learn something. But certainly the xray source, and the final image > produced by the windows

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-13 Thread Mayuresh
On Sun, Dec 13, 2020 at 10:45:37AM -0800, Ralph Little wrote: > It is a long shot, but you could ask the manufacturer for protocol > information. The retailers are reachable as one may guess they don't even know the word protocol or some haven't heard of Linux. All that they say is if you want

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-13 Thread m. allan noah
I don't see anything immediately obvious in the protocol, but we really need to see some scans. Even without the xray source we may learn something. But certainly the xray source, and the final image produced by the windows software will be required to be sure. allan On Sun, Dec 13, 2020 at

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-13 Thread Ralph Little
Hi, On 2020-12-13 7:59 a.m., Mayuresh wrote: > On Sun, Dec 13, 2020 at 09:39:03AM -0500, m. allan noah wrote: >> I think you have far more work to do than you realize.The first step >> would be to get some usb logs of the scanner in action using wireshark >> on windows. Someone here may recognize

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-13 Thread Mayuresh
On Sun, Dec 13, 2020 at 09:39:03AM -0500, m. allan noah wrote: > I think you have far more work to do than you realize.The first step > would be to get some usb logs of the scanner in action using wireshark > on windows. Someone here may recognize the image format or protocol. Yes, I have those

Re: [sane-devel] Sane backend for an intraoral X ray camera

2020-12-13 Thread m. allan noah
I'm not familiar with the pint interface, but I'd be surprised if it works generically with any twain scanner. How would the windows twain driver run on BSD without some kind of OS emulator? I think you have far more work to do than you realize.The first step would be to get some usb logs of the

[sane-devel] Sane backend for an intraoral X ray camera

2020-12-13 Thread Mayuresh
I am trying to get sane work with a digital X ray device used for dentistry described here [1] on Linux (Ubuntu 20.04) or on NetBSD 9.1. The device works only on Windows with proprietary software bundled with the driver provided by the manufacturer. However [1] says "Allows for direct acquisition