Jump to content

Improper call to JPEG library in state 200 - ERROR


SpeiVerta

Recommended Posts

Hello, I am new here. When I use RTIBuilder and put the images, then i get ''Highlight Denitions Not detected'', when I pass the last phase I have this error ''Improper call to JPEG library in state 200''

I have all my photos in JPG and i can't get the model to put this in RTIViewer. I checked all my photos and there are not have spaces in the names or folder.

Is so important this job for my thesis.

Sorry for my english, I speak spanish

 

 

Thank you so much!

Sin título.png

Link to comment
Share on other sites

SpeiVerta,

Apologies that I can only reply in English.

I can see there is definitely a problem, the size - as read by the HSHfitter - is enormous. The height and width used by the HSH fitter should, with no re-size, be the same as the 'Actual size' (see attached screenshot).

It may well be that your images are too big for that HSH fitter, there are other options if that is the case but some questions/suggestions that may help identify the problem:

1) Did this work before for these exact images and just stop now?

2) Is this the first time you tried to build an HSH RTI?

3) Have you successfully made an HSH RTI for other images of your own?

4) IF you made one OK before, if you go back to that set, does it still work?

5) Have you tried making an HSH RTI with the sample set of fish-fossil images you can download from the CHI website?

6) If you can make the fish-fossil OK, it may be your images or the memory demand are too big. How many images are you using? / what is their size in MB?

7) If you only process, say, eight of your images, does the same happen?

8) If you - just for testing - make a copy of your images with smaller resolution, say 1/4 size, does that work?

9) Also, It is always useful to also report what operating system/version you are running?; also the source of your images?

Dave

Capture.JPG

Link to comment
Share on other sites

Thank you for your fast answer

 

1) Did this work before for these exact images and just stop now?

No, since i try to do the RTI i find error

2) Is this the first time you tried to build an HSH RTI?

Yes

3) Have you successfully made an HSH RTI for other images of your own?

No :(

4) IF you made one OK before, if you go back to that set, does it still work?

No, always I find the same error

5) Have you tried making an HSH RTI with the sample set of fish-fossil images you can download from the CHI website?

I am trying to do RTI for a warrior stela

6) If you can make the fish-fossil OK, it may be your images or the memory demand are too big. How many images are you using? / what is their size in MB?

I am using 61 images in JPEG (712 MB)

7) If you only process, say, eight of your images, does the same happen?

Yes, and ''not detected Highlight''

8) If you - just for testing - make a copy of your images with smaller resolution, say 1/4 size, does that work?

No, i get ''Improper call....''

9) Also, It is always useful to also report what operating system/version you are running?; also the source of your images?

Windows 10. My images comes from Nikon (in .NEF)

Sin título.png

Link to comment
Share on other sites

SpeiVerta,

OK, I think may best not to try to climb Everest as first mountain! :)

CHI have provided a sample set of images - which definitely work. If there is any problem, still doing this, there is no point going on to your relatively-massive pictures.

Please forgive me if these duplicate what you know or have tried, but this is the simplest set of steps, could you try these as they definitely work.

 

Please try these and let us know if you successfully make and view a basic HSH RTI as below.

 

Dave

 

  1. On your PC, if you don’t already have one, make a folder RTI at the top level on your C: drive, and within that, make a folder Fish_1000 so you end up with C:\RTI\Fish_1000
     

  2. Download the Fish_1000 set of example files from http://culturalheritageimaging.org/What_We_Offer/Downloads/Process/
    And then – somewhere else on your PC - expand the fish_fossil-data-set_1000.zip file. In the zip file, down one level, you will see a folder jpeg-exports      Copy that folder and its contents into C:\RTI\Fish_1000 so you end up with C:\RTI\Fish_1000\jpeg-exports which will contain 36 photographs named fish_fossil_01.jpg through fish_fossil_36.jpg
     

  3. Start RTI Builder

    In the Project Name box, type Fish_test
    In the Operation Sequence block, click on the first option – Highlight based (HSH Fitter)
    Then click the [Start new project] button
     

  4. On the Image selection screen which opens with an initial blank list, click the [Open folder] button at the right-hand edge of the screen

    In the Windows selection box which pops-up, it usually seems to default browsing to ‘My Documents’.
    Click on the ‘Computer’ icon (fourth one down) in the left-hand bar
    Double-click on C:
    Double-click on the RTI folder
    Double-click on the Fish_1000 folder
    Then click [Open]   (N.B. please don’t click on the ‘jpeg-exports’ folder)

    You should then see a pop-up ‘Loading images’ with a progress bar
    When all the images have loaded, you should then see 36 images in the selection pane
    after which you should be able to proceed with RTI processing; and as you proceed with building your RTI model, you should see an xml and other folders appear in the project folder, so eventually, if you just proceed (using default options and not cropping) you will have:
    C:\RTI\Fish_1000\assembly-files
    C:\RTI\Fish_1000\finished-files
    C:\RTI\Fish_1000\jpeg-exports
    C:\RTI\Fish_1000\Fish_test.xml
    and your finished RTI will be
    C:\RTI\Fish_1000\finished-files\ Fish_test_1000.rti
     

  5. You will then have an HSH RTI which you should try to open with the viewer C:\RTI\Fish_1000\finished-files\ Fish_test_1000.rti

Link to comment
Share on other sites

  • 9 months later...

Dear all,

I am facing a similar issue with a new set of files. I am very familiar with RTIbuilder, but I just acquired a camera body delivering 50 Mpx images, and RTIbuilder seems to have trouble managing such files (set of 42 images). I had trouble getting the highlight detected, had to reinstall the builder. But now I get the 'invalid xxxx jpg library xxxx' message when I use the crop function. Instead of a W of 5895 px, the 'sample image' field displays a W of 6151224 ^^. Oddly enough, that doesn't happen when I untick the crop function. Then processing goes smooth and successful, with a displayed W of 5895 px...

I'll try to reinstall the builder, but any hint would be welcome.

All the best

Olivier

Link to comment
Share on other sites

1) Pursuing on that topic, I have been trying with half of the images, no luck; another desktop, no luck. Maybe of some relevance, the W value on the HSHfitter Output Information diplay changes each time I try (I made repeated tries on a single project). I join the .xml file. Will start reducing individual image sizes, but I use a Canon EOS 5DS, size shouldn't be an issue according to other posts... so, puzzled and in need of help.

2) Kept searching since then, with image width reduced to 7500px, asking for croping gives 'Empty input file' error window (window themed 'JPEG Library Error')... gnh

3) ok, using 3 images reduced at a W of 7000px, croping works; using 3 images at the original size (W of 8688px), croping bugs => the croping step is not fit for large datasets, so

a) one needs to anticipe, during data acquisition, that croping won't be possible (and, instead, hide scale, etc. and, maybe, outline the reflecting sphere, by running a preliminary image batch-processing on Photoshop)

b) I'd be happy to act as tester to the RTIbuilder v3 ;) 

0.xml

Link to comment
Share on other sites

  • 1 year later...

Hi,

i face the same problem. After a pause for normaly using RTI i came back to it, but now with any dataset i try, also with the test files i allways get the 200 library failure at the end..

the image sizes seem to be much to high but there is no sense as they are never changed and i don´t use to big and never did. But now also with the test run it is not working any more..

https://ibb.co/2sRLV54

<a href="https://ibb.co/2sRLV54"><img src="https://i.ibb.co/P9JbXtH/RTI-Problem.jpg" alt="RTI-Problem" border="0"></a>

Please help me, i urgently need to work again with RTI and i have no clue how to solve this. I already reinstalled the builder and tried many different picure sets..

 

Thank you so much in adavance!!!

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...