processing images with .bif extension - image-processing

I am working on a medical domain project which has the initial data in the format of .bif(concerning the resolution issues) but I am not able to process that image for further coding. Can anyone please let me know how to go about it ?

The .bif format is produced by a Ventana medical slide scanner. https://github.com/libvips/libvips can read and convert .bif files with help from https://openslide.org/. Currently this bug causes problems with the output though: https://github.com/openslide/openslide/issues/132.
https://github.com/ome/bioformats is a Java library which also claims support for reading .bif.

Related

Best way to parse pdf and word doc

I want to build an application that gets info out of a pdf or word doc and populate this into my database.
How do I go about this in the best way? Bare in mind that only certain information needs to be extracted from the pdf or word docu.
To parse PDF, I know 2 choices :
pdftotext
Check pdf2text
OCR
try tesseract
There are planty of free open source libs that will help you parsing the input file.
in the basic concepts- dont build the parser from scratch ,
use some open source lib to help you out.
if you will say in what lang you'r trying to write your code it may help:
for example for PDF your can find:
https://www.pdfparser.org/ (for php)
https://www.codeproject.com/Articles/12445/Converting-PDF-to-Text-in-C (for C#)
and more.
for DOC\DOCX , pretty much the same.

Read .las (LiDAR data) in iOS

I am making an app render the cloud points on different layer. For now I am consuming the data as .txt file converted from .las file. My question is: is there a way or lib to directly consume the .las format on iOS device? I searched about the libLAS (http://www.liblas.org/) but don't think it will work.
Thanks
Try LASlib of LAStools. It compiles without dependencies and also reads compressed LAS aka LAZ.
http://github.com/LAStools/LAStools/tree/master/LASlib

Rendering PDF in iOS

Need help on rendering PDF using CGPDFContext. I am currently using UIWebView to display PDF but would like to perform much more operation rather than just reading like Highlight Text, Search PDF, Annotate PDF. Not looking for using any Framework or library.
Any help will be beneficial. For a start, code on how to render PDF using CGPDF and displaying it instead of using UIWebView.
PDF annotations are a rabbit hole. I've been working on them since 2010. The spec is thousands of pages. It's easy to get started but it takes forever to get right with all the PDFs and variations out there. Even a simple feature like bookmarks are harder than you would think.
To date there's no open source framework that implements PDF annotations. The above linked one can be a good starting point. If you don't have months/years to build something on your own, there are a few commercial options available - like PSPDFKit, available for iOS, Android and Web, which I am building.
We have a guide article listing the most important PDF spec documents.
Searching is another tricky topic. It's quite hard to convert the PDF text data to unicode. The Adobe CIDFont spec is a good starting point.
You shoud try VFReader, it is an open source project for rendering PDF files on iOS. It can be a good starting point.

Parse Lego Digital Designer *.lxf files

I was toying with Lego digital designer the other day (http://ldd.lego.com/) and I was wondering if the saved file could be relatively easily parsed.
As anybody ever done that before? I'm looking for code examples, no matter the language :)
Thanks !
Romain
Maybe this would help: http://bricksviewer.sourceforge.net/index.shtml
A .lxf file is just a zip file, on the page I mentioned there is a short description of the format. For more details you should read the source.

Ipad DWG/DXF viewing

I have seen applications for iPad that let you view dxf and dwg files.
Does anyone know where to get info on how to do this? Are there any available tutorials? I haven't been able to find any.
I really need some direction on how to do this. The application I'm making just needs to show the files and layers.
Thanks for any help.
At present RealDwg is not available on iOS platform, so no way to view local dwg/dxf files.
But you have the other option. You create servers which open dwg files and send entities information in some format to your app, then your app can shows them. Through this way, your app can handle extremely large file. See AutoCAD WS.

Resources