The pictures (JPEG file) in BIM model are not shown in Forge Viewer - jpeg

I create BIM model and place the pictures (JPEG file) on the model's wall using 'place decal' function and change the graphic display option to 'realistic'. The result is as picture 1.
After that, I upload model to Forge viewer. However the pictures are not shown.
My questions are:
1) Why are the pictures in my revit model not shown in Forge viewer? How can I fix this?
2) If I can fix and the pictures are shown, can I change or replace the pictures in Forge Viewer later?
Please help, thank you.

Re 1: it's possible that decals in Revit models are currently not supported by the Forge Model Derivative service. I will talk to the engineering team and update this answer when I hear back from them. In the meantime, double check whether the decal image is embedded in the Revit file or referenced externally. If the image is referenced, you would have to include it with the *.rvt file in a zip archive when uploading & translating it in Forge.
Re 2: modifying textures of existing objects in Forge Viewer is possible but more involved. It would be easier to create new geometry (for example, using SceneBuilder), and overlay the existing decals.

Related

Can't use custom 3D model for visualization

I'm using the Modelica.Mechanics.MultiBody.Visualizers.FixedShape to render custom 3D models. I tried using .dxf and .stl in ASCII format but none works.
For .dxf I get no error but the model doesn't show up.
For .stl I get an error saying there is no plugin for that file type.
Please see the highlighted portions in the above image. OpenModelica supports adding an external shape using the format shapeType=modelica://<Modelica-name>/<relative-path-file-name>. Preferably create a Resources folder in the same level under the library folder and add dxf files in them. The following animation shows the same. Hope this helps!

Azure Search - Highlights - Locating in image

Just looking for guidance or even a general outline on approach here.
I am using azure search to OCR a batch of pdfs. I have turned on hit highlighting and I am successfully getting results back there that I am looping through / displaying in my view for the end user. I was looking on expanding that functionality to show the pdf images with the highlighting on the images themselves like in the JFK azure example. I am not proficient in react and seem to be getting lost there.
I am assuming I need to save off the OCR images to a data store for reference using the normalized_images that are created? I do have pdfs locally I can load but assume the OCR images maybe different. Have turned on GeneratedNormalizedImagesPerPage and turned on cache which creates files in my storage account.
Then I assume I need to pull the associated image, display it, use the highlight results and pull a corresponding bounding box where the phrase was detected? Problem with that approach is that I do not see any association between the highlight hit and the location (bounding box) of the hit nor the associated image file the hit was on.
Probably way off on approach here but any guidance is appreciated.
Edit 1
I did noticed the items on this page in the JFK example: https://github.com/microsoft/AzureSearch_JFK_Files/tree/master/JfkWebApiSkills/JfkWebApiSkills
Would trying to replicate the ImageStore (so those are stored in my storage account) and then the HocrGenerator (appears to handle points in a doc) into my skillset for my index be the approach?
There are a few steps here:
you need to save the layoutText from the OCR skill somewhere the UI can access it. The JFK Files demo converts it to a HOCR (to display in the UI) and saves it in index as a field in the index so that it is retrieved in the search results. HOCR isn't necessary and you may find it more efficient to store the layout in blobs using a knowlege store object projection.
save the extracted images into blob storage using a file projection into the knowledge store. Keep in mind that the images may be resized in the process and the coordinates will match the resized image saved to the store. If you want to map the coordinates to the original image see this.
At search time, map the highlight to the the metadata. You will find this code in the nodejs frontend, however it may be simpler to follow in the original demo by following the code here. Essentially you just find the first occurrence of the highlighted word in the metadata, display the associated image, and calculate the bounding region of the word.

OFFIS DICOM scope toolkit Structured report link to image

Does anybody knows how to create a structured report using dicom scope toolkit via console (ubuntu 16.04) with a link to a related image?
The thing is that I have an image of some kind of trauma and I have to connect with a report which is in a text file. The last file should be in .dcm format which contains annotation and a link to an image. I have to use dicom scope program.
Maybe others refrain from answering because your question needs a very long answer. I cannot provide step-by-step instructions, a few hints, though.
The way I would go is to:
(assuming that your image is available in DICOM format):
obtain a sample structured report. I think that the "simple" Basic Text SR is what you want to go for. You can find some samples here.
convert the SR to an XML file using dsr2xml
edit the contents in XML. Do not forget to include your image reference in (0040,a730) Content Sequence -> (0008,1199) Referenced SOP Sequence
convert the XML back to DICOM SR using xml2dsr
By the way: From your question, I did not really understand why you want to use a structured report, as you wrote that your report is plain text. Instead of digging into the complex structure of SR, you may want to consider exporting the report to an Encapsulated PDF document which can reference images as well.

Does anyone know how to download the Three.js converted file using Autodesk View and Data API?

I am trying to use the WEBGL(three.js) file translated through REST api using Autodesk view and Data API.
But, I am not able to download the streaming JSON file, does any one knows about this?
If you need only a specific mesh, you may try as described here: http://adndevblog.typepad.com/cloud_and_mobile/2015/05/viewer-api-search-dwg-solids-by-layer.html and check the following line (that gets the three.js mesh)
var mesh = viewer.impl.getRenderProxy(viewer, fragIdsArray[0]);
And you check this sample for a full download: http://extract.autodesk.io/

I need a web based document viewer in which i can show my tiff images

I need a web based document viewer, open sourced(free), in which i can show my tiff images.
I've gone through so many links however couldn't found any product which supports the tiff format, and can be used within my java code.
I have used Viewone-Pro and it completly fulfill all our needs, however, its not an open source product, so if any other product providing such features available, we would like to use that further.
Please suggest.

Resources