port for A3300IS / what reference port to use? - page 22 - General Discussion and Assistance - CHDK Forum supplierdeeply

port for A3300IS / what reference port to use?

  • 289 Replies
  • 102696 Views
Re: port for A3300IS / what reference port to use?
« Reply #210 on: 14 / January / 2012, 21:32:02 »
Advertisements
Amazing how much negativity I get just because I am trying to share what I have done so far with other users like me, I dont see what the problem is, especially when I make it clear I am just a beginner and I know its not going to be perfect.
Its okay actually.  If things were really bad, the devs would not have put the port in the svn.  I'm thinking there was not an intent to offend you so much as a  healthy desire to let others know that your port is not complete.  We spend a lot of time here chasing obscure bugs so a fair warning to those that come after you is probably appropriate.  Sometimes you have to use strong words for that or people miss the warning and get into trouble.

Have fun with your port - you've worked hard for it !!
Thank you Waterwingz 8]

I also should of made sure I uploaded the working source the other day as well, at that time I forgot I was in middle of tweaks so commented the color pallette stuff at at that time.

I do have the updated and working source for both the 100a and 100d but now am scared to bother uploading link.

I dont want any trouble, just to be a giver not just a taker from the forums.

Re: port for A3300IS / what reference port to use?
« Reply #211 on: 15 / January / 2012, 13:38:34 »
Has anyone successfully shot in RAW with this yet? I keet getting CRW files which will not open in photoshop and I can't use DNG4PS2 because there is not profile for this camera. I tried to shoot in DNG by generating a badpixel.bin and it was successful, but as soon as I tried to take a photo with DNG enabled, the camera shut down.

Re: port for A3300IS / what reference port to use?
« Reply #212 on: 15 / January / 2012, 14:27:17 »
Has anyone successfully shot in RAW with this yet? I keet getting CRW files which will not open in photoshop and I can't use DNG4PS2 because there is not profile for this camera. I tried to shoot in DNG by generating a badpixel.bin and it was successful, but as soon as I tried to take a photo with DNG enabled, the camera shut down.
yep, same here, i wish i understood it more to be able to get dng going, but not that advanced yet, sorry 8[

*

Offline reyalp

  • ******
  • 14111
Re: port for A3300IS / what reference port to use?
« Reply #213 on: 15 / January / 2012, 15:31:24 »
Has anyone successfully shot in RAW with this yet? I keet getting CRW files which will not open in photoshop and I can't use DNG4PS2 because there is not profile for this camera.
See http://chdk.wikia.com/wiki/Raw

You can create your own profile for DNG4PS2, just copy an existing one and enter the values for your camera (somewhere there's a post that describes this step by step, but my searchfu appears weak today). You will have to make up the color matrix, or go through the calibration process if you can get it to work:  http://chdk.wikia.com/wiki/DNG4PS-2/Calibration

You can get most of the values from platform_camera.h, if they have been updated for this camera. If not, you have to get them from the firmware. Many of the correct values should be found in stubs_entry.S comments.

If you just want to verify that the raw related values (address and dimensions) are correct, you can use rawconvert http://chdk.wikia.com/wiki/CHDK_Tools#rawconvert.c  Verifying these values is an essential part of making a working port.

Quote
but as soon as I tried to take a photo with DNG enabled, the camera shut down.
:-X
Don't forget what the H stands for.


Re: port for A3300IS / what reference port to use?
« Reply #214 on: 15 / January / 2012, 15:56:47 »
One thing I have not touched is raw stuff at all, other then the addresses auto gen in stubs_entry.s.

I did not make any of the addresses up in my port, so anything with a a3300is comment after it is what I updated.

And shooting.c is updated for my port, the version in the svn is not updated and I made that a point it needed to be updated still, but that is at least done now.

Main.c is also updated.

And everything in platform_camera.h is added correctly except of coarse the dng stuff which I dont understand yet.

I did not leave that stuff out because I didnt think I could leave it out, I left it out because I still had much more to learn, in time I hope to get it all done, or maybe a programmer will come into it by then.

And I left the old comments in my port because I was still working on it and thought they might be useful to me as I worked out bugs.

I also only used 1 ref for my cam which was the sx230. Things were copied over as a starting point because thats what it said to do in the adding new cam page. As I work on it I will gradually get rid of obvious not needed things, but things take time.

But I would not call this a non working port, because everything seems to be working except dng which crashes cam for now, but that is to be expected since I am just learning.


Re: port for A3300IS / what reference port to use?
« Reply #215 on: 16 / January / 2012, 15:35:43 »
Just to update anyone here waiting for Raw.

I got it working and saving DNG, just got to figure out the color matrix now.

I had wrong "int" and it was not copied from other port, just me looking in wrong place. I figured out after studying other dumps.

Also, had the same issue with the full_screen_refresh locking cam up when trying to use that code to refresh screen leaving me to use Waterwingz trusty old down and dirty code, but now I can use the new common code with no crash.

I will upload new Bin once I get the matrix correct, dont know anything about that yet, but I have learned this much  I am guessing I will get that too 8]

Also am cleaning up all comments and code from ref ports and making it known what I added.

Re: port for A3300IS / what reference port to use?
« Reply #216 on: 17 / January / 2012, 06:17:35 »
Ok, here is the latest build with Raw/DNG.

For those who dont know, make sure you go into Raw menu and create your badpixel.bin so you can turn on DNG format and extension so you can get in cam creation of a DNG ready for most photo editors.

And dont forget to turn on Raw at the top of the menu.

Seems to work just fine.

Also fixed some addresses to get screen refresh to work the right way.

Still have cleanup to do before I post source.

100d version has not been tested yet, so please confirm if raw/dng save works on it.
« Last Edit: 17 / January / 2012, 09:24:20 by mk11174 »

Re: port for A3300IS / what reference port to use?
« Reply #217 on: 17 / January / 2012, 15:30:49 »
Thanks for the great work so far, I've got 100d over here and it boots and the extra hud all appears, but I'm unable to verify the function of the DNG features as the camera hangs whenever I hit menu after activating alt mode.
Is there any information I can provide that will help debug this?


Re: port for A3300IS / what reference port to use?
« Reply #218 on: 17 / January / 2012, 17:16:39 »
Thanks for the great work so far, I've got 100d over here and it boots and the extra hud all appears, but I'm unable to verify the function of the DNG features as the camera hangs whenever I hit menu after activating alt mode.
Is there any information I can provide that will help debug this?
ok, not a prob, i must be diff on 100d, ill fix menu prob

Update: Here is the fix hopefully for the lockup pressing menu button in Alt mode for 100d
« Last Edit: 17 / January / 2012, 18:24:04 by mk11174 »

Re: port for A3300IS / what reference port to use?
« Reply #219 on: 17 / January / 2012, 21:35:44 »
Confirmed that 100d Raw/DNG is working correctly, Thanks Alex 8]

And anyone new to this and are wondering about the warped looking DNG images, that is totally normal cause its raw, if you look at the image you will notice you have much more data on the outside of image then you get with jpg, that is because on the jpg Canon already fixes lens distortion and crops the image before creation of the jpg.

So since photo pgrograms do not know your camera and lens, it cannot fix this auto, so you just use camera raw if your using photoshop and correct the lens distortion first to make it look normal, then you scale it till the outer edges that get pulled in are cropped out and you will still find you come away with more image data then the jpg, plus it looks nicer cause our custom distortion correction is better then canons auto setting. Its pretty sweet actually.

So this is not a bug, its just cause its the full un edited sensor image.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal